#6C239F#6C239F
#6C239F is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.188 H 306.7°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #6C239F |
|---|---|
| RGB | rgb(108, 35, 159) |
| HSL | hsl(275, 64%, 38%) |
| HSV | hsv(275, 78%, 62%) |
| CMYK | cmyk(32.1%, 78%, 0%, 37.6%) |
| CIE-LAB | lab(31.56, 52.88, -52.93) |
| CIE-LCH | lch(31.56, 74.82, 314.97°) |
| OKLab | oklab(43.39% 0.1122 -0.1505) |
| OKLCH | oklch(43.39% 0.188 306.7) |
| XYZ | xyz(13.0420, 6.8936, 33.4377) |
| Luminance | 0.0689 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.25
Purple (survey)
#7E1E9C
ΔE00 3.64
Purple Blue
#5D21D0
ΔE00 7.53
Violet Blue
#510AC9
ΔE00 7.77
Darkmagenta
#8B008B
ΔE00 7.97
Purple
#800080
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C239F #569F23
analogous
#2E239F #6C239F #9F2394
triadic
#6C239F #9F6C23 #239F6C
tetradic
#6C239F #9F2E23 #569F23 #23949F
square
#6C239F #9F2E23 #569F23 #23949F
split-complementary
#6C239F #949F23 #239F2E
monochromatic
#280D3B #4A186D #6C239F #8E2ED1 #A960DC
Accessibility & contrast
On white
8.83
#6C239F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#6C239F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C239F
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C239F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C239F | 1.00 | 8.83 | 2.38 | 8.83 |
| #FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#634260
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #6c239f; /* rgb */ color: rgb(108, 35, 159); /* oklch */ color: oklch(43.4% 0.188 306.7);
Tailwind
colors: {
custom: {
50: '#9b66bc',
500: '#6c239f',
950: '#000000',
},
}SCSS
$custom: #6c239f; $custom-light: #9b66bc; $custom-dark: #000000;
JSON
{
"hex": "#6c239f",
"rgb": {
"r": 108,
"g": 35,
"b": 159
},
"hsl": {
"h": 275.323,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.43393,
"c": 0.18777,
"h": 306.7
},
"luminance": 0.06893
}Semantic roles & 50–950 ramp
primary
#6C239F
secondary
#86C15D
accent
#E74185
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81