#6451C2#6451C2
#6451C2 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.5% C 0.170 H 286.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #6451C2 |
|---|---|
| RGB | rgb(100, 81, 194) |
| HSL | hsl(250, 48%, 54%) |
| HSV | hsv(250, 58%, 76%) |
| CMYK | cmyk(48.5%, 58.2%, 0%, 23.9%) |
| CIE-LAB | lab(41.98, 36.85, -56.86) |
| CIE-LCH | lch(41.98, 67.75, 302.95°) |
| OKLab | oklab(51.52% 0.0483 -0.1625) |
| OKLCH | oklch(51.52% 0.17 286.6) |
| XYZ | xyz(17.9327, 12.4884, 52.4941) |
| Luminance | 0.1249 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 2.27
Slate Blue
#6A5ACD
ΔE00 3.22
Light Indigo
#6D5ACF
ΔE00 3.52
Bluey Purple
#6241C7
ΔE00 4.33
Dark Periwinkle
#665FD1
ΔE00 4.84
Ocean Blue
#4F42B5
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6451C2 #AFC251
analogous
#5177C2 #6451C2 #9C51C2
triadic
#6451C2 #C26451 #51C264
tetradic
#6451C2 #C25177 #AFC251 #51C29C
square
#6451C2 #C25177 #AFC251 #51C29C
split-complementary
#6451C2 #C29C51 #77C251
monochromatic
#342871 #49379E #6451C2 #8C7ED2 #B5ACE2
Accessibility & contrast
On white
6.00
#6451C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#6451C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6451C2
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6451C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6451C2 | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#446B82
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #6451c2; /* rgb */ color: rgb(100, 81, 194); /* oklch */ color: oklch(51.5% 0.170 286.6);
Tailwind
colors: {
custom: {
50: '#9782d5',
500: '#6451c2',
950: '#000000',
},
}SCSS
$custom: #6451c2; $custom-light: #9782d5; $custom-dark: #000000;
JSON
{
"hex": "#6451c2",
"rgb": {
"r": 100,
"g": 81,
"b": 194
},
"hsl": {
"h": 250.088,
"s": 48.085,
"l": 53.922
},
"oklch": {
"l": 0.51515,
"c": 0.1695,
"h": 286.6
},
"luminance": 0.12489
}Semantic roles & 50–950 ramp
primary
#6451C2
secondary
#C7D09F
accent
#D850C1
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0A14
muted
#7E7C83