#6A239E#6A239E
#6A239E is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.186 H 306.0°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #6A239E |
|---|---|
| RGB | rgb(106, 35, 158) |
| HSL | hsl(275, 64%, 38%) |
| HSV | hsv(275, 78%, 62%) |
| CMYK | cmyk(32.9%, 77.8%, 0%, 38%) |
| CIE-LAB | lab(31.20, 52.29, -52.93) |
| CIE-LCH | lch(31.20, 74.40, 314.65°) |
| OKLab | oklab(43.05% 0.1096 -0.1506) |
| OKLCH | oklch(43.05% 0.186 306) |
| XYZ | xyz(12.7151, 6.7350, 32.9713) |
| Luminance | 0.0673 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.19
Purple (survey)
#7E1E9C
ΔE00 3.96
Purple Blue
#5D21D0
ΔE00 7.53
Violet Blue
#510AC9
ΔE00 7.66
Indigo
#4B0082
ΔE00 7.92
Darkmagenta
#8B008B
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A239E #579E23
analogous
#2C239E #6A239E #9E2395
triadic
#6A239E #9E6A23 #239E6A
tetradic
#6A239E #9E2C23 #579E23 #23959E
square
#6A239E #9E2C23 #579E23 #23959E
split-complementary
#6A239E #959E23 #239E2C
monochromatic
#270D3A #48186C #6A239E #8C2ED0 #A760DC
Accessibility & contrast
On white
8.95
#6A239E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#6A239E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A239E
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A239E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A239E | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#004A9C
Tritanopia (blue-blind)
#614260
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6a239e; /* rgb */ color: rgb(106, 35, 158); /* oklch */ color: oklch(43.0% 0.186 306.0);
Tailwind
colors: {
custom: {
50: '#9a66bc',
500: '#6a239e',
950: '#000000',
},
}SCSS
$custom: #6a239e; $custom-light: #9a66bc; $custom-dark: #000000;
JSON
{
"hex": "#6a239e",
"rgb": {
"r": 106,
"g": 35,
"b": 158
},
"hsl": {
"h": 274.634,
"s": 63.731,
"l": 37.843
},
"oklch": {
"l": 0.4305,
"c": 0.18628,
"h": 306
},
"luminance": 0.06735
}Semantic roles & 50–950 ramp
primary
#6A239E
secondary
#87C15C
accent
#E74187
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81