#6F236F#6F236F
#6F236F is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.4% C 0.143 H 327.8°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #6F236F |
|---|---|
| RGB | rgb(111, 35, 111) |
| HSL | hsl(300, 52%, 29%) |
| HSV | hsv(300, 68%, 44%) |
| CMYK | cmyk(0%, 68.5%, 0%, 56.5%) |
| CIE-LAB | lab(28.72, 43.48, -27.58) |
| CIE-LCH | lch(28.72, 51.49, 327.62°) |
| OKLab | oklab(40.41% 0.1212 -0.0762) |
| OKLCH | oklch(40.41% 0.143 327.8) |
| XYZ | xyz(10.0257, 5.7299, 15.6138) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 1.90
Purple
#800080
ΔE00 4.87
Rich Purple
#720058
ΔE00 6.09
Grape
#6C3461
ΔE00 6.25
Grape Purple
#5D1451
ΔE00 6.34
Darkmagenta
#8B008B
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F236F #236F23
analogous
#49236F #6F236F #6F2349
triadic
#6F236F #6F6F23 #236F6F
tetradic
#6F236F #6F4923 #236F23 #23496F
square
#6F236F #6F4923 #236F23 #23496F
split-complementary
#6F236F #496F23 #236F49
monochromatic
#170717 #401440 #6F236F #9E329E #C547C5
Accessibility & contrast
On white
9.79
#6F236F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#6F236F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F236F
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F236F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F236F | 1.00 | 9.79 | 2.15 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#183D71
Deuteranopia (green-blind)
#36476D
Tritanopia (blue-blind)
#732D46
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #6f236f; /* rgb */ color: rgb(111, 35, 111); /* oklch */ color: oklch(40.4% 0.143 327.8);
Tailwind
colors: {
custom: {
50: '#9b6598',
500: '#6f236f',
950: '#000000',
},
}SCSS
$custom: #6f236f; $custom-light: #9b6598; $custom-dark: #000000;
JSON
{
"hex": "#6f236f",
"rgb": {
"r": 111,
"g": 35,
"b": 111
},
"hsl": {
"h": 300,
"s": 52.055,
"l": 28.627
},
"oklch": {
"l": 0.40413,
"c": 0.14318,
"h": 327.8
},
"luminance": 0.05729
}Semantic roles & 50–950 ramp
primary
#6F236F
secondary
#4CA24C
accent
#DB4C4C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E