#6F229F#6F229F
#6F229F is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.7% C 0.190 H 308.2°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #6F229F |
|---|---|
| RGB | rgb(111, 34, 159) |
| HSL | hsl(277, 65%, 38%) |
| HSV | hsv(277, 79%, 62%) |
| CMYK | cmyk(30.2%, 78.6%, 0%, 37.6%) |
| CIE-LAB | lab(31.87, 53.80, -52.41) |
| CIE-LCH | lch(31.87, 75.11, 315.75°) |
| OKLab | oklab(43.7% 0.1173 -0.1489) |
| OKLCH | oklch(43.7% 0.19 308.2) |
| XYZ | xyz(13.3843, 7.0270, 33.4454) |
| Luminance | 0.0703 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.08
Rebeccapurple
#663399
ΔE00 3.50
Darkmagenta
#8B008B
ΔE00 7.45
Purple
#800080
ΔE00 7.65
Purple Blue
#5D21D0
ΔE00 7.80
Violet Blue
#510AC9
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F229F #529F22
analogous
#30229F #6F229F #9F2290
triadic
#6F229F #9F6F22 #229F6F
tetradic
#6F229F #9F3022 #529F22 #22909F
square
#6F229F #9F3022 #529F22 #22909F
split-complementary
#6F229F #909F22 #229F30
monochromatic
#290C3A #4C176D #6F229F #922DD1 #AC5FDD
Accessibility & contrast
On white
8.73
#6F229F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#6F229F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F229F
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F229F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F229F | 1.00 | 8.73 | 2.41 | 8.73 |
| #FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#674160
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #6f229f; /* rgb */ color: rgb(111, 34, 159); /* oklch */ color: oklch(43.7% 0.190 308.2);
Tailwind
colors: {
custom: {
50: '#9d66bc',
500: '#6f229f',
950: '#000000',
},
}SCSS
$custom: #6f229f; $custom-light: #9d66bc; $custom-dark: #000000;
JSON
{
"hex": "#6f229f",
"rgb": {
"r": 111,
"g": 34,
"b": 159
},
"hsl": {
"h": 276.96,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.43698,
"c": 0.18958,
"h": 308.2
},
"luminance": 0.07027
}Semantic roles & 50–950 ramp
primary
#6F229F
secondary
#83C15B
accent
#E84080
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81