#4F308F#4F308F
#4F308F is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.2% C 0.149 H 293.6°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #4F308F |
|---|---|
| RGB | rgb(79, 48, 143) |
| HSL | hsl(260, 50%, 37%) |
| HSV | hsv(260, 66%, 56%) |
| CMYK | cmyk(44.8%, 66.4%, 0%, 43.9%) |
| CIE-LAB | lab(28.80, 36.80, -47.80) |
| CIE-LCH | lch(28.80, 60.33, 307.59°) |
| OKLab | oklab(40.21% 0.0596 -0.1366) |
| OKLCH | oklch(40.21% 0.149 293.6) |
| XYZ | xyz(9.2380, 5.7591, 26.6062) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.45
Darkslateblue
#483D8B
ΔE00 4.56
Blueberry
#464196
ΔE00 5.81
Ocean Blue
#4F42B5
ΔE00 7.50
Indigo Blue
#3A18B1
ΔE00 7.51
Indigo
#4B0082
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F308F #708F30
analogous
#30418F #4F308F #7F308F
triadic
#4F308F #8F4F30 #308F4F
tetradic
#4F308F #8F3041 #708F30 #308F7F
square
#4F308F #8F3041 #708F30 #308F7F
split-complementary
#4F308F #8F7F30 #418F30
monochromatic
#1C1133 #362161 #4F308F #683FBD #8C6CCE
Accessibility & contrast
On white
9.76
#4F308F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#4F308F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F308F
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F308F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F308F | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#3D465B
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4f308f; /* rgb */ color: rgb(79, 48, 143); /* oklch */ color: oklch(40.2% 0.149 293.6);
Tailwind
colors: {
custom: {
50: '#866ab0',
500: '#4f308f',
950: '#000000',
},
}SCSS
$custom: #4f308f; $custom-light: #866ab0; $custom-dark: #000000;
JSON
{
"hex": "#4f308f",
"rgb": {
"r": 79,
"g": 48,
"b": 143
},
"hsl": {
"h": 259.579,
"s": 49.738,
"l": 37.451
},
"oklch": {
"l": 0.40208,
"c": 0.14904,
"h": 293.6
},
"luminance": 0.05759
}Semantic roles & 50–950 ramp
primary
#4F308F
secondary
#9BB566
accent
#D94FAC
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0611
muted
#7D7A80