#4D239F#4D239F
#4D239F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.184 H 291.0°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).
Color values
| HEX | #4D239F |
|---|---|
| RGB | rgb(77, 35, 159) |
| HSL | hsl(260, 64%, 38%) |
| HSV | hsv(260, 78%, 62%) |
| CMYK | cmyk(51.6%, 78%, 0%, 37.6%) |
| CIE-LAB | lab(27.53, 47.79, -59.69) |
| CIE-LCH | lch(27.53, 76.46, 308.68°) |
| OKLab | oklab(39.68% 0.0657 -0.1715) |
| OKLCH | oklch(39.68% 0.184 291) |
| XYZ | xyz(9.9178, 5.2826, 33.2912) |
| Luminance | 0.0528 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.86
Violet Blue
#510AC9
ΔE00 5.79
Rebeccapurple
#663399
ΔE00 5.94
Indigo
#4B0082
ΔE00 6.48
Ultramarine
#2000B1
ΔE00 6.63
Purple Blue
#5D21D0
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D239F #759F23
analogous
#23379F #4D239F #8B239F
triadic
#4D239F #9F4D23 #239F4D
tetradic
#4D239F #9F2337 #759F23 #239F8B
square
#4D239F #9F2337 #759F23 #239F8B
split-complementary
#4D239F #9F8B23 #379F23
monochromatic
#1C0D3B #35186D #4D239F #652ED1 #8A60DC
Accessibility & contrast
On white
10.21
#4D239F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#4D239F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D239F
10.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D239F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D239F | 1.00 | 10.21 | 2.06 | 10.21 |
| #FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#304660
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4d239f; /* rgb */ color: rgb(77, 35, 159); /* oklch */ color: oklch(39.7% 0.184 291.0);
Tailwind
colors: {
custom: {
50: '#8863bc',
500: '#4d239f',
950: '#000000',
},
}SCSS
$custom: #4d239f; $custom-light: #8863bc; $custom-dark: #000000;
JSON
{
"hex": "#4d239f",
"rgb": {
"r": 77,
"g": 35,
"b": 159
},
"hsl": {
"h": 260.323,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.39682,
"c": 0.18365,
"h": 291
},
"luminance": 0.05283
}Semantic roles & 50–950 ramp
primary
#4D239F
secondary
#9FC15D
accent
#E741AF
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81