#6D35B1#6D35B1
#6D35B1 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.0% C 0.186 H 299.8°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #6D35B1 |
|---|---|
| RGB | rgb(109, 53, 177) |
| HSL | hsl(267, 54%, 45%) |
| HSV | hsv(267, 70%, 69%) |
| CMYK | cmyk(38.4%, 70.1%, 0%, 30.6%) |
| CIE-LAB | lab(35.93, 49.42, -56.63) |
| CIE-LCH | lch(35.93, 75.16, 311.11°) |
| OKLab | oklab(46.95% 0.0927 -0.1615) |
| OKLCH | oklch(46.95% 0.186 299.8) |
| XYZ | xyz(15.5136, 8.9716, 42.5008) |
| Luminance | 0.0897 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.87
Bluey Purple
#6241C7
ΔE00 4.96
Blue With A Hint Of Purple
#533CC6
ΔE00 5.80
Blurple
#5539CC
ΔE00 5.80
Purple Blue
#5D21D0
ΔE00 5.87
Purple (survey)
#7E1E9C
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D35B1 #79B135
analogous
#353BB1 #6D35B1 #AB35B1
triadic
#6D35B1 #B16D35 #35B16D
tetradic
#6D35B1 #B1353B #79B135 #35B1AB
square
#6D35B1 #B1353B #79B135 #35B1AB
split-complementary
#6D35B1 #B1AB35 #3BB135
monochromatic
#331953 #502782 #6D35B1 #8C57CD #AC86DB
Accessibility & contrast
On white
7.52
#6D35B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#6D35B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6D35B1
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D35B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D35B1 | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#0054AE
Tritanopia (blue-blind)
#5D536F
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #6d35b1; /* rgb */ color: rgb(109, 53, 177); /* oklch */ color: oklch(47.0% 0.186 299.8);
Tailwind
colors: {
custom: {
50: '#9c71c9',
500: '#6d35b1',
950: '#000000',
},
}SCSS
$custom: #6d35b1; $custom-light: #9c71c9; $custom-dark: #000000;
JSON
{
"hex": "#6d35b1",
"rgb": {
"r": 109,
"g": 53,
"b": 177
},
"hsl": {
"h": 267.097,
"s": 53.913,
"l": 45.098
},
"oklch": {
"l": 0.46952,
"c": 0.18621,
"h": 299.8
},
"luminance": 0.08972
}Semantic roles & 50–950 ramp
primary
#6D35B1
secondary
#A4C47D
accent
#DD4B9B
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82