#42263F
Closest named color: Space Cadet (#2B2D42). oklch(31.5% 0.058 330.7), rgb(66, 38, 63).
Aa
White text reads best on this color (13.28:1).
About this color
#42263F is a dark, muted purple. In OKLCH its lightness is 31%, its chroma 0.058 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.046 away. White text reads best on it, at 13.28:1.
| Hue family | Purples |
| Lightness | dark (31%) |
| Chroma | muted (0.058) |
| Temperature | in between |
| Nearest name | Space Cadet (#2B2D42) |
| Black text | 1.58:1 |
| White text | 13.28:1 |
Values
| HEX | #42263F |
| RGB | rgb(66, 38, 63) |
| HSL | hsl(306, 27%, 20%) |
| OKLCH | oklch(31.5% 0.058 330.7) |
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 #42263F | 13.28:1 | AAA | Lc -102.7 | Preferred for body text |
| Black text on #42263F | 1.58:1 | Fails | Lc 0.0 | Not readable |
| #42263F text on white | 13.28:1 | AAA | Lc 99.5 | Preferred for body text |
| #42263F 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
#F9F3F8
oklch(97% 0.009 330.9)
-
Step 100
100
#F2E5F0
oklch(93.5% 0.02 330.7)
-
Step 200
200
#E9D1E5
oklch(88.6% 0.038 331.4)
-
Step 300
300
#DBB1D5
oklch(80.9% 0.068 331)
-
Step 400
400
#C887C0
oklch(70.7% 0.109 331.1)
-
Step 500
500
#B867B0
oklch(63% 0.139 330.8)
-
Step 600
600
#A34C9C
oklch(55.5% 0.153 330.5)
-
Step 700
700
#8C3D85
oklch(49.1% 0.141 331)
-
Step 800
800
#72336C
oklch(42.8% 0.117 331.1)
-
Step 900
900
#5C2D58
oklch(37.6% 0.092 330.4)
-
Step 950
950 (this color)
#42263F
oklch(31.5% 0.058 330.7)
#42263F 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) | #252D40 | 0.056 |
| Deuteranopia (no green cones) | #2C313E | 0.051 |
| Tritanopia (no blue cones) | #44282F | 0.032 |
| Achromatopsia (no color) | #303030 | 0.058 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #42263F
#42263F
oklch(31.5% 0.058 330.7)
- #193A22
#193A22
oklch(31.6% 0.058 150.7)
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 #42263F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Space Cadet #2B2D42 ΔE 0.046
- Gunmetal #293241 ΔE 0.055
- Onyx #343A40 ΔE 0.065
- Deep Violet #490648 ΔE 0.071
- Eggplant Purple #430541 ΔE 0.072
- Oxford Blue #1B263B ΔE 0.073
- Aubergine #3D0734 ΔE 0.074
- Grape Purple #5D1451 ΔE 0.075
Use #42263F 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.