#6B51CD#6B51CD
#6B51CD is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.9% C 0.183 H 288.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #6B51CD |
|---|---|
| RGB | rgb(107, 81, 205) |
| HSL | hsl(253, 55%, 56%) |
| HSV | hsv(253, 60%, 80%) |
| CMYK | cmyk(47.8%, 60.5%, 0%, 19.6%) |
| CIE-LAB | lab(43.39, 41.53, -60.92) |
| CIE-LCH | lch(43.39, 73.73, 304.28°) |
| OKLab | oklab(52.94% 0.0571 -0.1742) |
| OKLCH | oklch(52.94% 0.183 288.1) |
| XYZ | xyz(20.0221, 13.4176, 59.2806) |
| Luminance | 0.1342 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.65
Slate Blue
#6A5ACD
ΔE00 2.67
Iris
#6258C4
ΔE00 3.08
Dark Periwinkle
#665FD1
ΔE00 4.50
Bluey Purple
#6241C7
ΔE00 4.51
Purpleish Blue
#6140EF
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B51CD #B3CD51
analogous
#5175CD #6B51CD #A951CD
triadic
#6B51CD #CD6B51 #51CD6B
tetradic
#6B51CD #CD5175 #B3CD51 #51CDA9
square
#6B51CD #CD5175 #B3CD51 #51CDA9
split-complementary
#6B51CD #CDA951 #75CD51
monochromatic
#38257F #4C32AF #6B51CD #9381DB #BCB0E8
Accessibility & contrast
On white
5.70
#6B51CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#6B51CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B51CD
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B51CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B51CD | 1.00 | 5.70 | 3.68 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#4A6E87
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6b51cd; /* rgb */ color: rgb(107, 81, 205); /* oklch */ color: oklch(52.9% 0.183 288.1);
Tailwind
colors: {
custom: {
50: '#9d83dd',
500: '#6b51cd',
950: '#000000',
},
}SCSS
$custom: #6b51cd; $custom-light: #9d83dd; $custom-dark: #000000;
JSON
{
"hex": "#6b51cd",
"rgb": {
"r": 107,
"g": 81,
"b": 205
},
"hsl": {
"h": 252.581,
"s": 55.357,
"l": 56.078
},
"oklch": {
"l": 0.52943,
"c": 0.18333,
"h": 288.1
},
"luminance": 0.13418
}Semantic roles & 50–950 ramp
primary
#6B51CD
secondary
#CCD7A3
accent
#DF49BF
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83