#6F50BA#6F50BA
#6F50BA is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.8% C 0.160 H 293.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #6F50BA |
|---|---|
| RGB | rgb(111, 80, 186) |
| HSL | hsl(258, 43%, 52%) |
| HSV | hsv(258, 57%, 73%) |
| CMYK | cmyk(40.3%, 57%, 0%, 27.1%) |
| CIE-LAB | lab(42.25, 37.57, -51.71) |
| CIE-LCH | lch(42.25, 63.91, 306.00°) |
| OKLab | oklab(51.79% 0.0639 -0.147) |
| OKLCH | oklch(51.79% 0.16 293.5) |
| XYZ | xyz(18.2848, 12.6615, 47.9254) |
| Luminance | 0.1266 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.06
Iris
#6258C4
ΔE00 4.23
Slate Blue
#6A5ACD
ΔE00 4.51
Light Indigo
#6D5ACF
ΔE00 4.54
Bluey Purple
#6241C7
ΔE00 4.98
Dark Periwinkle
#665FD1
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F50BA #9BBA50
analogous
#5066BA #6F50BA #A450BA
triadic
#6F50BA #BA6F50 #50BA6F
tetradic
#6F50BA #BA5066 #9BBA50 #50BAA4
square
#6F50BA #BA5066 #9BBA50 #50BAA4
split-complementary
#6F50BA #BAA450 #66BA50
monochromatic
#3B2967 #543A93 #6F50BA #937CCB #B7A8DD
Accessibility & contrast
On white
5.94
#6F50BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#6F50BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F50BA
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F50BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F50BA | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1665BE
Deuteranopia (green-blind)
#2162B8
Tritanopia (blue-blind)
#5B677D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6f50ba; /* rgb */ color: rgb(111, 80, 186); /* oklch */ color: oklch(51.8% 0.160 293.5);
Tailwind
colors: {
custom: {
50: '#9d82cf',
500: '#6f50ba',
950: '#000000',
},
}SCSS
$custom: #6f50ba; $custom-light: #9d82cf; $custom-dark: #000000;
JSON
{
"hex": "#6f50ba",
"rgb": {
"r": 111,
"g": 80,
"b": 186
},
"hsl": {
"h": 257.547,
"s": 43.443,
"l": 52.157
},
"oklch": {
"l": 0.51787,
"c": 0.16031,
"h": 293.5
},
"luminance": 0.12662
}Semantic roles & 50–950 ramp
primary
#6F50BA
secondary
#BDCA9C
accent
#D355AE
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0A14
muted
#7F7C82