#4A314A
Closest named color: Onyx (#343A40). oklch(35.3% 0.054 326.6), rgb(74, 49, 74).
Aa
White text reads best on this color (11.47:1).
About this color
#4A314A is a dark, muted purple. In OKLCH its lightness is 35%, its chroma 0.054 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.053 away. White text reads best on it, at 11.47:1.
| Hue family | Purples |
| Lightness | dark (35%) |
| Chroma | muted (0.054) |
| Temperature | in between |
| Nearest name | Onyx (#343A40) |
| Black text | 1.82:1 |
| White text | 11.47:1 |
Values
| HEX | #4A314A |
| RGB | rgb(74, 49, 74) |
| HSL | hsl(300, 20%, 24%) |
| OKLCH | oklch(35.3% 0.054 326.6) |
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 #4A314A | 11.47:1 | AAA | Lc -100.1 | Preferred for body text |
| Black text on #4A314A | 1.82:1 | Fails | Lc 7.5 | Not readable |
| #4A314A text on white | 11.47:1 | AAA | Lc 96.4 | Preferred for body text |
| #4A314A text on black | 1.82: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
#F7F4F7
oklch(97% 0.005 325.6)
-
Step 100
100
#EEE7EE
oklch(93.5% 0.012 325.7)
-
Step 200
200
#E1D4E1
oklch(88.4% 0.023 325.8)
-
Step 300
300
#CFB8CF
oklch(80.9% 0.041 325.9)
-
Step 400
400
#B793B6
oklch(70.8% 0.065 327.1)
-
Step 500
500
#A478A4
oklch(63.1% 0.082 326.5)
-
Step 600
600
#8F608F
oklch(55.6% 0.09 326.7)
-
Step 700
700
#794F7A
oklch(49% 0.084 326)
-
Step 800
800
#634163
oklch(42.7% 0.07 326.7)
-
Step 900
900 (this color)
#4A314A
oklch(35.3% 0.054 326.6)
-
Step 950
950
#2F212F
oklch(27.1% 0.032 326.4)
#4A314A 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) | #2F374B | 0.049 |
| Deuteranopia (no green cones) | #353B49 | 0.046 |
| Tritanopia (no blue cones) | #4C333A | 0.031 |
| Achromatopsia (no color) | #393939 | 0.054 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #4A314A
#4A314A
oklch(35.3% 0.054 326.6)
- #28432A
#28432A
oklch(35.3% 0.054 146.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 #4A314A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Onyx #343A40 ΔE 0.053
- Charcoal Grey #3C4142 ΔE 0.060
- Space Cadet #2B2D42 ΔE 0.062
- Gunmetal #293241 ΔE 0.062
- Purple Brown #673A3F ΔE 0.071
- Dark Blue Grey #1F3B4D ΔE 0.071
- Prussian Blue #1D3557 ΔE 0.074
- Grape Purple #5D1451 ΔE 0.075
Use #4A314A 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.