#6F397F#6F397F
#6F397F is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.3% C 0.124 H 318.0°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #6F397F |
|---|---|
| RGB | rgb(111, 57, 127) |
| HSL | hsl(286, 38%, 36%) |
| HSV | hsv(286, 55%, 50%) |
| CMYK | cmyk(12.6%, 55.1%, 0%, 50.2%) |
| CIE-LAB | lab(33.64, 35.79, -29.89) |
| CIE-LCH | lch(33.64, 46.63, 320.13°) |
| OKLab | oklab(44.3% 0.0924 -0.0831) |
| OKLCH | oklch(44.3% 0.124 318) |
| XYZ | xyz(11.8489, 7.8385, 20.9634) |
| Luminance | 0.0784 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 6.52
Light Eggplant
#894585
ΔE00 6.65
Rebeccapurple
#663399
ΔE00 6.78
Bruise
#7E4071
ΔE00 7.00
Grape
#6C3461
ΔE00 7.25
Purple (survey)
#7E1E9C
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F397F #497F39
analogous
#4C397F #6F397F #7F396C
triadic
#6F397F #7F6F39 #397F6F
tetradic
#6F397F #7F4C39 #497F39 #396C7F
square
#6F397F #7F4C39 #497F39 #396C7F
split-complementary
#6F397F #6C7F39 #397F4C
monochromatic
#25132B #4A2655 #6F397F #944CA9 #AE72C0
Accessibility & contrast
On white
8.18
#6F397F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#6F397F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F397F
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F397F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F397F | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4C81
Deuteranopia (green-blind)
#3C517D
Tritanopia (blue-blind)
#6F4356
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #6f397f; /* rgb */ color: rgb(111, 57, 127); /* oklch */ color: oklch(44.3% 0.124 318.0);
Tailwind
colors: {
custom: {
50: '#9a72a4',
500: '#6f397f',
950: '#000000',
},
}SCSS
$custom: #6f397f; $custom-light: #9a72a4; $custom-dark: #000000;
JSON
{
"hex": "#6f397f",
"rgb": {
"r": 111,
"g": 57,
"b": 127
},
"hsl": {
"h": 286.286,
"s": 38.043,
"l": 36.078
},
"oklch": {
"l": 0.44297,
"c": 0.12428,
"h": 318
},
"luminance": 0.07838
}Semantic roles & 50–950 ramp
primary
#6F397F
secondary
#79A96B
accent
#CE5A74
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0E080F
muted
#7E7B7F