#6B4FD2#6B4FD2
#6B4FD2 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.0% C 0.192 H 287.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #6B4FD2 |
|---|---|
| RGB | rgb(107, 79, 210) |
| HSL | hsl(253, 59%, 57%) |
| HSV | hsv(253, 62%, 82%) |
| CMYK | cmyk(49%, 62.4%, 0%, 17.6%) |
| CIE-LAB | lab(43.32, 44.13, -63.91) |
| CIE-LCH | lch(43.32, 77.67, 304.62°) |
| OKLab | oklab(53.01% 0.0588 -0.183) |
| OKLCH | oklch(53.01% 0.192 287.8) |
| XYZ | xyz(20.4889, 13.3700, 62.4614) |
| Luminance | 0.1337 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.15
Slate Blue
#6A5ACD
ΔE00 3.24
Iris
#6258C4
ΔE00 3.76
Bluey Purple
#6241C7
ΔE00 4.24
Purpleish Blue
#6140EF
ΔE00 4.81
Bluish Purple
#703BE7
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B4FD2 #B6D24F
analogous
#4F75D2 #6B4FD2 #AC4FD2
triadic
#6B4FD2 #D26B4F #4FD26B
tetradic
#6B4FD2 #D24F75 #B6D24F #4FD2AC
square
#6B4FD2 #D24F75 #B6D24F #4FD2AC
split-complementary
#6B4FD2 #D2AC4F #75D24F
monochromatic
#372285 #4B2EB5 #6B4FD2 #9480DE #BDB0EB
Accessibility & contrast
On white
5.72
#6B4FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#6B4FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B4FD2
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B4FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B4FD2 | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#0063CF
Tritanopia (blue-blind)
#476E89
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6b4fd2; /* rgb */ color: rgb(107, 79, 210); /* oklch */ color: oklch(53.0% 0.192 287.8);
Tailwind
colors: {
custom: {
50: '#9d82e1',
500: '#6b4fd2',
950: '#000000',
},
}SCSS
$custom: #6b4fd2; $custom-light: #9d82e1; $custom-dark: #000000;
JSON
{
"hex": "#6b4fd2",
"rgb": {
"r": 107,
"g": 79,
"b": 210
},
"hsl": {
"h": 252.824,
"s": 59.276,
"l": 56.667
},
"oklch": {
"l": 0.53006,
"c": 0.19225,
"h": 287.8
},
"luminance": 0.13371
}Semantic roles & 50–950 ramp
primary
#6B4FD2
secondary
#CED9A4
accent
#E245C1
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83