#6F51F4#6F51F4
#6F51F4 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.4% C 0.231 H 284.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #6F51F4 |
|---|---|
| RGB | rgb(111, 81, 244) |
| HSL | hsl(251, 88%, 64%) |
| HSV | hsv(251, 67%, 96%) |
| CMYK | cmyk(54.5%, 66.8%, 0%, 4.3%) |
| CIE-LAB | lab(46.70, 53.56, -77.66) |
| CIE-LCH | lch(46.70, 94.34, 304.59°) |
| OKLab | oklab(56.36% 0.0584 -0.2233) |
| OKLCH | oklch(56.36% 0.231 284.7) |
| XYZ | xyz(25.8222, 15.7945, 87.2584) |
| Luminance | 0.1580 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.57
Purpleish Blue
#6140EF
ΔE00 4.71
Light Indigo
#6D5ACF
ΔE00 5.25
Bluish Purple
#703BE7
ΔE00 5.51
Slate Blue
#6A5ACD
ΔE00 5.60
Dark Periwinkle
#665FD1
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F51F4 #D6F451
analogous
#5184F4 #6F51F4 #C051F4
triadic
#6F51F4 #F46F51 #51F46F
tetradic
#6F51F4 #F45184 #D6F451 #51F4C0
square
#6F51F4 #F45184 #D6F451 #51F4C0
split-complementary
#6F51F4 #F4C051 #84F451
monochromatic
#2D0CBF #3F17F0 #6F51F4 #9F8BF8 #CEC4FB
Accessibility & contrast
On white
5.05
#6F51F4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#6F51F4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F51F4
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F51F4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F51F4 | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073F9
Deuteranopia (green-blind)
#006AF1
Tritanopia (blue-blind)
#327B9C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #6f51f4; /* rgb */ color: rgb(111, 81, 244); /* oklch */ color: oklch(56.4% 0.231 284.7);
Tailwind
colors: {
custom: {
50: '#a484f9',
500: '#6f51f4',
950: '#000000',
},
}SCSS
$custom: #6f51f4; $custom-light: #a484f9; $custom-dark: #000000;
JSON
{
"hex": "#6f51f4",
"rgb": {
"r": 111,
"g": 81,
"b": 244
},
"hsl": {
"h": 251.043,
"s": 88.108,
"l": 63.725
},
"oklch": {
"l": 0.5636,
"c": 0.23081,
"h": 284.7
},
"luminance": 0.15796
}Semantic roles & 50–950 ramp
primary
#6F51F4
secondary
#E3EDB4
accent
#E501BB
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85