#6A249B#6A249B
#6A249B is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.182 H 306.9°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #6A249B |
|---|---|
| RGB | rgb(106, 36, 155) |
| HSL | hsl(275, 62%, 37%) |
| HSV | hsv(275, 77%, 61%) |
| CMYK | cmyk(31.6%, 76.8%, 0%, 39.2%) |
| CIE-LAB | lab(31.10, 51.20, -51.27) |
| CIE-LCH | lch(31.10, 72.45, 314.96°) |
| OKLab | oklab(42.91% 0.1094 -0.1457) |
| OKLCH | oklch(42.91% 0.182 306.9) |
| XYZ | xyz(12.4899, 6.6926, 31.6378) |
| Luminance | 0.0669 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.00
Purple (survey)
#7E1E9C
ΔE00 3.80
Indigo
#4B0082
ΔE00 7.86
Purple
#800080
ΔE00 7.88
Darkmagenta
#8B008B
ΔE00 7.94
Purple Blue
#5D21D0
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A249B #559B24
analogous
#2E249B #6A249B #9B2491
triadic
#6A249B #9B6A24 #249B6A
tetradic
#6A249B #9B2E24 #559B24 #24919B
square
#6A249B #9B2E24 #559B24 #24919B
split-complementary
#6A249B #919B24 #249B2E
monochromatic
#260D38 #481869 #6A249B #8C30CD #A85FDA
Accessibility & contrast
On white
8.98
#6A249B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#6A249B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A249B
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A249B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A249B | 1.00 | 8.98 | 2.34 | 8.98 |
| #FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#62415E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6a249b; /* rgb */ color: rgb(106, 36, 155); /* oklch */ color: oklch(42.9% 0.182 306.9);
Tailwind
colors: {
custom: {
50: '#9967b9',
500: '#6a249b',
950: '#000000',
},
}SCSS
$custom: #6a249b; $custom-light: #9967b9; $custom-dark: #000000;
JSON
{
"hex": "#6a249b",
"rgb": {
"r": 106,
"g": 36,
"b": 155
},
"hsl": {
"h": 275.294,
"s": 62.304,
"l": 37.451
},
"oklch": {
"l": 0.42905,
"c": 0.18222,
"h": 306.9
},
"luminance": 0.06692
}Semantic roles & 50–950 ramp
primary
#6A249B
secondary
#85BF5C
accent
#E54286
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81