#6D51F1#6D51F1
#6D51F1 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 55.9% C 0.227 H 284.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #6D51F1 |
|---|---|
| RGB | rgb(109, 81, 241) |
| HSL | hsl(251, 85%, 63%) |
| HSV | hsv(251, 66%, 95%) |
| CMYK | cmyk(54.8%, 66.4%, 0%, 5.5%) |
| CIE-LAB | lab(46.29, 52.38, -76.66) |
| CIE-LCH | lch(46.29, 92.84, 304.34°) |
| OKLab | oklab(55.95% 0.0562 -0.2204) |
| OKLCH | oklch(55.95% 0.227 284.3) |
| XYZ | xyz(25.1215, 15.4855, 84.8673) |
| Luminance | 0.1549 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 4.44
Purpley
#8756E4
ΔE00 4.74
Light Indigo
#6D5ACF
ΔE00 4.92
Slate Blue
#6A5ACD
ΔE00 5.23
Bluish Purple
#703BE7
ΔE00 5.32
Dark Periwinkle
#665FD1
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D51F1 #D5F151
analogous
#5185F1 #6D51F1 #BD51F1
triadic
#6D51F1 #F16D51 #51F16D
tetradic
#6D51F1 #F15185 #D5F151 #51F1BD
square
#6D51F1 #F15185 #D5F151 #51F1BD
split-complementary
#6D51F1 #F1BD51 #85F151
monochromatic
#2D0FB9 #3D18EC #6D51F1 #9D8AF6 #CCC2FA
Accessibility & contrast
On white
5.13
#6D51F1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#6D51F1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6D51F1
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D51F1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D51F1 | 1.00 | 5.13 | 4.10 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072F6
Deuteranopia (green-blind)
#0069EE
Tritanopia (blue-blind)
#2F7A9A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #6d51f1; /* rgb */ color: rgb(109, 81, 241); /* oklch */ color: oklch(55.9% 0.227 284.3);
Tailwind
colors: {
custom: {
50: '#a384f7',
500: '#6d51f1',
950: '#000000',
},
}SCSS
$custom: #6d51f1; $custom-light: #a384f7; $custom-dark: #000000;
JSON
{
"hex": "#6d51f1",
"rgb": {
"r": 109,
"g": 81,
"b": 241
},
"hsl": {
"h": 250.5,
"s": 85.106,
"l": 63.137
},
"oklch": {
"l": 0.55948,
"c": 0.22746,
"h": 284.3
},
"luminance": 0.15487
}Semantic roles & 50–950 ramp
primary
#6D51F1
secondary
#E2ECB2
accent
#E204BB
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85