#6F3AC2#6F3AC2
#6F3AC2 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.2% C 0.199 H 296.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #6F3AC2 |
|---|---|
| RGB | rgb(111, 58, 194) |
| HSL | hsl(263, 54%, 49%) |
| HSV | hsv(263, 70%, 76%) |
| CMYK | cmyk(42.8%, 70.1%, 0%, 23.9%) |
| CIE-LAB | lab(38.38, 51.70, -62.66) |
| CIE-LCH | lch(38.38, 81.24, 309.53°) |
| OKLab | oklab(49.16% 0.0876 -0.1792) |
| OKLCH | oklch(49.16% 0.199 296) |
| XYZ | xyz(17.8036, 10.3003, 52.0786) |
| Luminance | 0.1030 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.88
Blurple
#5539CC
ΔE00 4.35
Burple
#6832E3
ΔE00 4.50
Blue With A Hint Of Purple
#533CC6
ΔE00 4.57
Bluish Purple
#703BE7
ΔE00 5.01
Purpley Blue
#5F34E7
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F3AC2 #8DC23A
analogous
#3A49C2 #6F3AC2 #B33AC2
triadic
#6F3AC2 #C26F3A #3AC26F
tetradic
#6F3AC2 #C23A49 #8DC23A #3AC2B3
square
#6F3AC2 #C23A49 #8DC23A #3AC2B3
split-complementary
#6F3AC2 #C2B33A #49C23A
monochromatic
#391E64 #542C93 #6F3AC2 #9167D2 #B397E0
Accessibility & contrast
On white
6.86
#6F3AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#6F3AC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F3AC2
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F3AC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F3AC2 | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0058BF
Tritanopia (blue-blind)
#595C7A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #6f3ac2; /* rgb */ color: rgb(111, 58, 194); /* oklch */ color: oklch(49.2% 0.199 296.0);
Tailwind
colors: {
custom: {
50: '#9f74d5',
500: '#6f3ac2',
950: '#000000',
},
}SCSS
$custom: #6f3ac2; $custom-light: #9f74d5; $custom-dark: #000000;
JSON
{
"hex": "#6f3ac2",
"rgb": {
"r": 111,
"g": 58,
"b": 194
},
"hsl": {
"h": 263.382,
"s": 53.968,
"l": 49.412
},
"oklch": {
"l": 0.49163,
"c": 0.19942,
"h": 296
},
"luminance": 0.10301
}Semantic roles & 50–950 ramp
primary
#6F3AC2
secondary
#B3CB8D
accent
#DD4AA4
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83