#6C259C#6C259C
#6C259C is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.183 H 307.4°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #6C259C |
|---|---|
| RGB | rgb(108, 37, 156) |
| HSL | hsl(276, 62%, 38%) |
| HSV | hsv(276, 76%, 61%) |
| CMYK | cmyk(30.8%, 76.3%, 0%, 38.8%) |
| CIE-LAB | lab(31.61, 51.39, -51.04) |
| CIE-LCH | lch(31.61, 72.43, 315.20°) |
| OKLab | oklab(43.35% 0.1111 -0.145) |
| OKLCH | oklch(43.35% 0.183 307.4) |
| XYZ | xyz(12.8454, 6.9118, 32.1034) |
| Luminance | 0.0691 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.91
Purple (survey)
#7E1E9C
ΔE00 3.48
Darkmagenta
#8B008B
ΔE00 7.74
Purple
#800080
ΔE00 7.79
Purple Blue
#5D21D0
ΔE00 8.02
Indigo
#4B0082
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C259C #559C25
analogous
#30259C #6C259C #9C2591
triadic
#6C259C #9C6C25 #259C6C
tetradic
#6C259C #9C3025 #559C25 #25919C
square
#6C259C #9C3025 #559C25 #25919C
split-complementary
#6C259C #919C25 #259C30
monochromatic
#280E39 #4A196B #6C259C #8E31CD #A962DA
Accessibility & contrast
On white
8.81
#6C259C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#6C259C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C259C
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C259C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C259C | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#64425F
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #6c259c; /* rgb */ color: rgb(108, 37, 156); /* oklch */ color: oklch(43.3% 0.183 307.4);
Tailwind
colors: {
custom: {
50: '#9b67ba',
500: '#6c259c',
950: '#000000',
},
}SCSS
$custom: #6c259c; $custom-light: #9b67ba; $custom-dark: #000000;
JSON
{
"hex": "#6c259c",
"rgb": {
"r": 108,
"g": 37,
"b": 156
},
"hsl": {
"h": 275.798,
"s": 61.658,
"l": 37.843
},
"oklch": {
"l": 0.43349,
"c": 0.18265,
"h": 307.4
},
"luminance": 0.06912
}Semantic roles & 50–950 ramp
primary
#6C259C
secondary
#85BF5E
accent
#E54384
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81