#6F36B2#6F36B2
#6F36B2 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.4% C 0.186 H 300.4°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #6F36B2 |
|---|---|
| RGB | rgb(111, 54, 178) |
| HSL | hsl(268, 53%, 45%) |
| HSV | hsv(268, 70%, 70%) |
| CMYK | cmyk(37.6%, 69.7%, 0%, 30.2%) |
| CIE-LAB | lab(36.43, 49.57, -56.40) |
| CIE-LCH | lch(36.43, 75.09, 311.31°) |
| OKLab | oklab(47.39% 0.0943 -0.1608) |
| OKLCH | oklch(47.39% 0.186 300.4) |
| XYZ | xyz(15.9086, 9.2321, 43.0547) |
| Luminance | 0.0923 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.10
Bluey Purple
#6241C7
ΔE00 4.91
Blurple
#5539CC
ΔE00 5.92
Blue With A Hint Of Purple
#533CC6
ΔE00 5.93
Purple Blue
#5D21D0
ΔE00 6.07
Purple (survey)
#7E1E9C
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F36B2 #79B236
analogous
#363BB2 #6F36B2 #AD36B2
triadic
#6F36B2 #B26F36 #36B26F
tetradic
#6F36B2 #B2363B #79B236 #36B2AD
square
#6F36B2 #B2363B #79B236 #36B2AD
split-complementary
#6F36B2 #B2AD36 #3BB236
monochromatic
#341A54 #522883 #6F36B2 #8E59CD #AE88DB
Accessibility & contrast
On white
7.38
#6F36B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#6F36B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F36B2
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F36B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F36B2 | 1.00 | 7.38 | 2.85 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#605470
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #6f36b2; /* rgb */ color: rgb(111, 54, 178); /* oklch */ color: oklch(47.4% 0.186 300.4);
Tailwind
colors: {
custom: {
50: '#9e71ca',
500: '#6f36b2',
950: '#000000',
},
}SCSS
$custom: #6f36b2; $custom-light: #9e71ca; $custom-dark: #000000;
JSON
{
"hex": "#6f36b2",
"rgb": {
"r": 111,
"g": 54,
"b": 178
},
"hsl": {
"h": 267.581,
"s": 53.448,
"l": 45.49
},
"oklch": {
"l": 0.47386,
"c": 0.1864,
"h": 300.4
},
"luminance": 0.09232
}Semantic roles & 50–950 ramp
primary
#6F36B2
secondary
#A5C57F
accent
#DD4B9A
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82