#4F239B#4F239B
#4F239B is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.179 H 293.0°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #4F239B |
|---|---|
| RGB | rgb(79, 35, 155) |
| HSL | hsl(262, 63%, 37%) |
| HSV | hsv(262, 77%, 61%) |
| CMYK | cmyk(49%, 77.4%, 0%, 39.2%) |
| CIE-LAB | lab(27.38, 46.99, -57.48) |
| CIE-LCH | lch(27.38, 74.24, 309.27°) |
| OKLab | oklab(39.52% 0.07 -0.165) |
| OKLCH | oklch(39.52% 0.179 293) |
| XYZ | xyz(9.7402, 5.2306, 31.5004) |
| Luminance | 0.0523 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.51
Rebeccapurple
#663399
ΔE00 5.53
Indigo
#4B0082
ΔE00 6.06
Violet Blue
#510AC9
ΔE00 6.34
Indigo (survey)
#380282
ΔE00 6.82
Ultramarine
#2000B1
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F239B #6F9B23
analogous
#23339B #4F239B #8B239B
triadic
#4F239B #9B4F23 #239B4F
tetradic
#4F239B #9B2333 #6F9B23 #239B8B
square
#4F239B #9B2333 #6F9B23 #239B8B
split-complementary
#4F239B #9B8B23 #339B23
monochromatic
#1C0C37 #361869 #4F239B #682ECD #8C5EDB
Accessibility & contrast
On white
10.26
#4F239B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#4F239B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F239B
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F239B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F239B | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#37445E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4f239b; /* rgb */ color: rgb(79, 35, 155); /* oklch */ color: oklch(39.5% 0.179 293.0);
Tailwind
colors: {
custom: {
50: '#8863ba',
500: '#4f239b',
950: '#000000',
},
}SCSS
$custom: #4f239b; $custom-light: #8863ba; $custom-dark: #000000;
JSON
{
"hex": "#4f239b",
"rgb": {
"r": 79,
"g": 35,
"b": 155
},
"hsl": {
"h": 262,
"s": 63.158,
"l": 37.255
},
"oklch": {
"l": 0.3952,
"c": 0.17917,
"h": 293
},
"luminance": 0.05231
}Semantic roles & 50–950 ramp
primary
#4F239B
secondary
#9ABF5A
accent
#E642AA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81