#6351BB#6351BB
#6351BB is a mid, vivid violet. Relative luminance 0.121; OKLCH L 50.9% C 0.160 H 287.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #6351BB |
|---|---|
| RGB | rgb(99, 81, 187) |
| HSL | hsl(250, 44%, 53%) |
| HSV | hsv(250, 57%, 73%) |
| CMYK | cmyk(47.1%, 56.7%, 0%, 26.7%) |
| CIE-LAB | lab(41.41, 34.55, -53.70) |
| CIE-LCH | lch(41.41, 63.85, 302.76°) |
| OKLab | oklab(50.92% 0.047 -0.1532) |
| OKLCH | oklch(50.92% 0.16 287.1) |
| XYZ | xyz(17.0551, 12.1246, 48.4457) |
| Luminance | 0.1212 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 2.60
Slate Blue
#6A5ACD
ΔE00 3.88
Light Indigo
#6D5ACF
ΔE00 4.23
Bluey Purple
#6241C7
ΔE00 4.67
Ocean Blue
#4F42B5
ΔE00 5.15
Dark Periwinkle
#665FD1
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6351BB #A9BB51
analogous
#5174BB #6351BB #9851BB
triadic
#6351BB #BB6351 #51BB63
tetradic
#6351BB #BB5174 #A9BB51 #51BB98
square
#6351BB #BB5174 #A9BB51 #51BB98
split-complementary
#6351BB #BB9851 #74BB51
monochromatic
#342969 #493A95 #6351BB #8A7DCC #B2A9DD
Accessibility & contrast
On white
6.13
#6351BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#6351BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6351BB
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6351BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6351BB | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C64BF
Deuteranopia (green-blind)
#0B5FB9
Tritanopia (blue-blind)
#46697E
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #6351bb; /* rgb */ color: rgb(99, 81, 187); /* oklch */ color: oklch(50.9% 0.160 287.1);
Tailwind
colors: {
custom: {
50: '#9582d0',
500: '#6351bb',
950: '#000000',
},
}SCSS
$custom: #6351bb; $custom-light: #9582d0; $custom-dark: #000000;
JSON
{
"hex": "#6351bb",
"rgb": {
"r": 99,
"g": 81,
"b": 187
},
"hsl": {
"h": 250.189,
"s": 43.802,
"l": 52.549
},
"oklch": {
"l": 0.50921,
"c": 0.16028,
"h": 287.1
},
"luminance": 0.12125
}Semantic roles & 50–950 ramp
primary
#6351BB
secondary
#C3CB9D
accent
#D454BE
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82