#6F2BA2#6F2BA2
#6F2BA2 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.8% C 0.183 H 306.4°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #6F2BA2 |
|---|---|
| RGB | rgb(111, 43, 162) |
| HSL | hsl(274, 58%, 40%) |
| HSV | hsv(274, 73%, 64%) |
| CMYK | cmyk(31.5%, 73.5%, 0%, 36.5%) |
| CIE-LAB | lab(33.38, 50.81, -51.77) |
| CIE-LCH | lch(33.38, 72.54, 314.47°) |
| OKLab | oklab(44.84% 0.1083 -0.1471) |
| OKLCH | oklch(44.84% 0.183 306.4) |
| XYZ | xyz(13.9396, 7.7160, 34.9304) |
| Luminance | 0.0772 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.50
Purple (survey)
#7E1E9C
ΔE00 3.62
Purple Blue
#5D21D0
ΔE00 7.47
Bluey Purple
#6241C7
ΔE00 8.13
Darkmagenta
#8B008B
ΔE00 8.20
Darkviolet
#9400D3
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F2BA2 #5EA22B
analogous
#342BA2 #6F2BA2 #A22B99
triadic
#6F2BA2 #A26F2B #2BA26F
tetradic
#6F2BA2 #A2342B #5EA22B #2B99A2
square
#6F2BA2 #A2342B #5EA22B #2B99A2
split-complementary
#6F2BA2 #99A22B #2BA234
monochromatic
#2D1141 #4E1E72 #6F2BA2 #8F3ECC #AB6FD9
Accessibility & contrast
On white
8.26
#6F2BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#6F2BA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F2BA2
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F2BA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F2BA2 | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#664764
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #6f2ba2; /* rgb */ color: rgb(111, 43, 162); /* oklch */ color: oklch(44.8% 0.183 306.4);
Tailwind
colors: {
custom: {
50: '#9d6bbe',
500: '#6f2ba2',
950: '#000000',
},
}SCSS
$custom: #6f2ba2; $custom-light: #9d6bbe; $custom-dark: #000000;
JSON
{
"hex": "#6f2ba2",
"rgb": {
"r": 111,
"g": 43,
"b": 162
},
"hsl": {
"h": 274.286,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.4484,
"c": 0.18265,
"h": 306.4
},
"luminance": 0.07716
}Semantic roles & 50–950 ramp
primary
#6F2BA2
secondary
#8EC069
accent
#E14789
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81