#6F226F#6F226F
#6F226F is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.3% C 0.145 H 327.9°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #6F226F |
|---|---|
| RGB | rgb(111, 34, 111) |
| HSL | hsl(300, 53%, 28%) |
| HSV | hsv(300, 69%, 44%) |
| CMYK | cmyk(0%, 69.4%, 0%, 56.5%) |
| CIE-LAB | lab(28.57, 43.91, -27.82) |
| CIE-LCH | lch(28.57, 51.98, 327.64°) |
| OKLab | oklab(40.3% 0.1224 -0.0769) |
| OKLCH | oklch(40.3% 0.145 327.9) |
| XYZ | xyz(9.9967, 5.6719, 15.6041) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 1.76
Purple
#800080
ΔE00 4.75
Rich Purple
#720058
ΔE00 6.02
Grape Purple
#5D1451
ΔE00 6.31
Grape
#6C3461
ΔE00 6.41
Darkmagenta
#8B008B
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F226F #226F22
analogous
#48226F #6F226F #6F2248
triadic
#6F226F #6F6F22 #226F6F
tetradic
#6F226F #6F4822 #226F22 #22486F
square
#6F226F #6F4822 #226F22 #22486F
split-complementary
#6F226F #486F22 #226F48
monochromatic
#170717 #401440 #6F226F #9E309E #C645C6
Accessibility & contrast
On white
9.84
#6F226F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#6F226F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F226F
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F226F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F226F | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#173D71
Deuteranopia (green-blind)
#35476D
Tritanopia (blue-blind)
#732D45
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #6f226f; /* rgb */ color: rgb(111, 34, 111); /* oklch */ color: oklch(40.3% 0.145 327.9);
Tailwind
colors: {
custom: {
50: '#9b6498',
500: '#6f226f',
950: '#000000',
},
}SCSS
$custom: #6f226f; $custom-light: #9b6498; $custom-dark: #000000;
JSON
{
"hex": "#6f226f",
"rgb": {
"r": 111,
"g": 34,
"b": 111
},
"hsl": {
"h": 300,
"s": 53.103,
"l": 28.431
},
"oklch": {
"l": 0.40304,
"c": 0.14455,
"h": 327.9
},
"luminance": 0.05671
}Semantic roles & 50–950 ramp
primary
#6F226F
secondary
#4AA24A
accent
#DD4B4B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E