#6A50BB#6A50BB
#6A50BB is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.4% C 0.161 H 290.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #6A50BB |
|---|---|
| RGB | rgb(106, 80, 187) |
| HSL | hsl(255, 44%, 52%) |
| HSV | hsv(255, 57%, 73%) |
| CMYK | cmyk(43.3%, 57.2%, 0%, 26.7%) |
| CIE-LAB | lab(41.83, 36.70, -53.00) |
| CIE-LCH | lch(41.83, 64.46, 304.70°) |
| OKLab | oklab(51.38% 0.0573 -0.1509) |
| OKLCH | oklch(51.38% 0.161 290.8) |
| XYZ | xyz(17.7797, 12.3888, 48.4586) |
| Luminance | 0.1239 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.47
Slate Blue
#6A5ACD
ΔE00 4.11
Light Indigo
#6D5ACF
ΔE00 4.26
Bluey Purple
#6241C7
ΔE00 4.54
Royal Purple
#7851A9
ΔE00 4.93
Ocean Blue
#4F42B5
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A50BB #A1BB50
analogous
#506CBB #6A50BB #9F50BB
triadic
#6A50BB #BB6A50 #50BB6A
tetradic
#6A50BB #BB506C #A1BB50 #50BB9F
square
#6A50BB #BB506C #A1BB50 #50BB9F
split-complementary
#6A50BB #BB9F50 #6CBB50
monochromatic
#382868 #503A94 #6A50BB #907CCC #B5A8DD
Accessibility & contrast
On white
6.04
#6A50BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#6A50BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A50BB
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A50BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A50BB | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E65BF
Deuteranopia (green-blind)
#1760B9
Tritanopia (blue-blind)
#53677E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #6a50bb; /* rgb */ color: rgb(106, 80, 187); /* oklch */ color: oklch(51.4% 0.161 290.8);
Tailwind
colors: {
custom: {
50: '#9a82d0',
500: '#6a50bb',
950: '#000000',
},
}SCSS
$custom: #6a50bb; $custom-light: #9a82d0; $custom-dark: #000000;
JSON
{
"hex": "#6a50bb",
"rgb": {
"r": 106,
"g": 80,
"b": 187
},
"hsl": {
"h": 254.579,
"s": 44.033,
"l": 52.353
},
"oklch": {
"l": 0.51382,
"c": 0.16147,
"h": 290.8
},
"luminance": 0.12389
}Semantic roles & 50–950 ramp
primary
#6A50BB
secondary
#BFCB9C
accent
#D454B5
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82