#6C239B#6C239B
#6C239B is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.184 H 308.0°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #6C239B |
|---|---|
| RGB | rgb(108, 35, 155) |
| HSL | hsl(277, 63%, 37%) |
| HSV | hsv(277, 77%, 61%) |
| CMYK | cmyk(30.3%, 77.4%, 0%, 39.2%) |
| CIE-LAB | lab(31.25, 51.97, -51.01) |
| CIE-LCH | lch(31.25, 72.82, 315.53°) |
| OKLab | oklab(43.07% 0.1131 -0.1449) |
| OKLCH | oklch(43.07% 0.184 308) |
| XYZ | xyz(12.7005, 6.7570, 31.6391) |
| Luminance | 0.0676 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.21
Purple (survey)
#7E1E9C
ΔE00 3.42
Purple
#800080
ΔE00 7.55
Darkmagenta
#8B008B
ΔE00 7.57
Indigo
#4B0082
ΔE00 8.01
Purple Blue
#5D21D0
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C239B #529B23
analogous
#30239B #6C239B #9B238E
triadic
#6C239B #9B6C23 #239B6C
tetradic
#6C239B #9B3023 #529B23 #238E9B
square
#6C239B #9B3023 #529B23 #238E9B
split-complementary
#6C239B #8E9B23 #239B30
monochromatic
#260C37 #491869 #6C239B #8F2ECD #AA5EDB
Accessibility & contrast
On white
8.93
#6C239B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#6C239B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C239B
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C239B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C239B | 1.00 | 8.93 | 2.35 | 8.93 |
| #FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#64415E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #6c239b; /* rgb */ color: rgb(108, 35, 155); /* oklch */ color: oklch(43.1% 0.184 308.0);
Tailwind
colors: {
custom: {
50: '#9b66b9',
500: '#6c239b',
950: '#000000',
},
}SCSS
$custom: #6c239b; $custom-light: #9b66b9; $custom-dark: #000000;
JSON
{
"hex": "#6c239b",
"rgb": {
"r": 108,
"g": 35,
"b": 155
},
"hsl": {
"h": 276.5,
"s": 63.158,
"l": 37.255
},
"oklch": {
"l": 0.43072,
"c": 0.18383,
"h": 308
},
"luminance": 0.06757
}Semantic roles & 50–950 ramp
primary
#6C239B
secondary
#82BF5A
accent
#E64282
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81