#3A235E
Closest named color: Royal Purple (#4B006E). oklch(31.8% 0.101 298.4), rgb(58, 35, 94).
Aa
White text reads best on this color (13.27:1).
About this color
#3A235E is a dark, moderately saturated purple. In OKLCH its lightness is 32%, its chroma 0.101 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Royal Purple (#4B006E), ΔE 0.065 away. White text reads best on it, at 13.27:1.
| Hue family | Purples |
| Lightness | dark (32%) |
| Chroma | moderately saturated (0.101) |
| Temperature | in between |
| Nearest name | Royal Purple (#4B006E) |
| Black text | 1.58:1 |
| White text | 13.27:1 |
Values
| HEX | #3A235E |
| RGB | rgb(58, 35, 94) |
| HSL | hsl(263, 46%, 25%) |
| OKLCH | oklch(31.8% 0.101 298.4) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #3A235E | 13.27:1 | AAA | Lc -102.6 | Preferred for body text |
| Black text on #3A235E | 1.58:1 | Fails | Lc 0.0 | Not readable |
| #3A235E text on white | 13.27:1 | AAA | Lc 99.4 | Preferred for body text |
| #3A235E text on black | 1.58:1 | Fails | Lc 0.0 | Not readable |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.
-
Step 50
50
#F7F3FF
oklch(97.1% 0.016 301.2)
-
Step 100
100
#ECE5FF
oklch(93.5% 0.036 298)
-
Step 200
200
#DED1FF
oklch(88.6% 0.064 298)
-
Step 300
300
#CAB1FF
oklch(81% 0.111 298.6)
-
Step 400
400
#B083FF
oklch(70.6% 0.179 298.5)
-
Step 500
500
#9F5CFF
oklch(63.2% 0.231 298.4)
-
Step 600
600
#8D2EF5
oklch(55.6% 0.266 298.4)
-
Step 700
700
#781BD6
oklch(49.1% 0.248 298.2)
-
Step 800
800
#621CAD
oklch(42.7% 0.206 298.6)
-
Step 900
900
#4F2289
oklch(37.8% 0.16 298.2)
-
Step 950
950 (this color)
#3A235E
oklch(31.8% 0.101 298.4)
#3A235E with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #043060 | 0.074 |
| Deuteranopia (no green cones) | #0E2F5D | 0.068 |
| Tritanopia (no blue cones) | #322F3C | 0.078 |
| Achromatopsia (no color) | #303030 | 0.102 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #3A235E
#3A235E
oklch(31.8% 0.101 298.4)
- #2F3700
#2F3700
oklch(31.8% 0.074 118.3)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #3A235E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal Purple #4B006E ΔE 0.065
- Plum Purple #4E0550 ΔE 0.067
- Space Cadet #2B2D42 ΔE 0.068
- Prussian Blue #1D3557 ΔE 0.068
- Deep Violet #490648 ΔE 0.069
- Marine #042E60 ΔE 0.073
- Midnight Blue #191970 ΔE 0.075
- Eggplant Purple #430541 ΔE 0.076
Use #3A235E in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.