#3F285A
Closest named color: Space Cadet (#2B2D42). oklch(33% 0.088 303.2), rgb(63, 40, 90).
Aa
White text reads best on this color (12.63:1).
About this color
#3F285A is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.088 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.061 away. White text reads best on it, at 12.63:1.
| Hue family | Purples |
| Lightness | dark (33%) |
| Chroma | moderately saturated (0.088) |
| Temperature | in between |
| Nearest name | Space Cadet (#2B2D42) |
| Black text | 1.66:1 |
| White text | 12.63:1 |
Values
| HEX | #3F285A |
| RGB | rgb(63, 40, 90) |
| HSL | hsl(268, 38%, 25%) |
| OKLCH | oklch(33% 0.088 303.2) |
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 #3F285A | 12.63:1 | AAA | Lc -101.8 | Preferred for body text |
| Black text on #3F285A | 1.66:1 | Fails | Lc 0.0 | Not readable |
| #3F285A text on white | 12.63:1 | AAA | Lc 98.4 | Preferred for body text |
| #3F285A text on black | 1.66: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 900.
-
Step 50
50
#F6F4FA
oklch(97% 0.008 301.4)
-
Step 100
100
#ECE7F5
oklch(93.6% 0.019 302.2)
-
Step 200
200
#DED4EE
oklch(88.6% 0.037 303.1)
-
Step 300
300
#C9B7E4
oklch(80.9% 0.065 303.2)
-
Step 400
400
#AE90D7
oklch(70.7% 0.106 303.2)
-
Step 500
500
#9A73CC
oklch(63% 0.135 302.9)
-
Step 600
600
#855AB9
oklch(55.6% 0.147 302.8)
-
Step 700
700
#71499F
oklch(49.1% 0.137 303.2)
-
Step 800
800
#5C3D81
oklch(42.8% 0.112 303)
-
Step 900
900 (this color)
#3F285A
oklch(33% 0.088 303.2)
-
Step 950
950
#2C1F3D
oklch(27% 0.056 302.8)
#3F285A 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) | #18335C | 0.065 |
| Deuteranopia (no green cones) | #1E3359 | 0.059 |
| Tritanopia (no blue cones) | #3A313D | 0.065 |
| Achromatopsia (no color) | #333333 | 0.089 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #3F285A
#3F285A
oklch(33% 0.088 303.2)
- #2E3C00
#2E3C00
oklch(33.2% 0.081 123.1)
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 #3F285A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Space Cadet #2B2D42 ΔE 0.061
- Prussian Blue #1D3557 ΔE 0.064
- Plum Purple #4E0550 ΔE 0.069
- Gunmetal #293241 ΔE 0.071
- Grape Purple #5D1451 ΔE 0.071
- Deep Violet #490648 ΔE 0.072
- Royal Purple #4B006E ΔE 0.076
- Marine #042E60 ΔE 0.079
Use #3F285A 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.