#6130B5#6130B5
#6130B5 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.195 H 294.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #6130B5 |
|---|---|
| RGB | rgb(97, 48, 181) |
| HSL | hsl(262, 58%, 45%) |
| HSV | hsv(262, 73%, 71%) |
| CMYK | cmyk(46.4%, 73.5%, 0%, 29%) |
| CIE-LAB | lab(33.96, 50.72, -62.27) |
| CIE-LCH | lch(33.96, 80.31, 309.16°) |
| OKLab | oklab(45.34% 0.0793 -0.1785) |
| OKLCH | oklch(45.34% 0.195 294) |
| XYZ | xyz(14.3249, 7.9911, 44.4948) |
| Luminance | 0.0799 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.04
Blurple
#5539CC
ΔE00 4.34
Blue With A Hint Of Purple
#533CC6
ΔE00 4.41
Bluey Purple
#6241C7
ΔE00 4.76
Rebeccapurple
#663399
ΔE00 4.81
Ocean Blue
#4F42B5
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6130B5 #84B530
analogous
#3042B5 #6130B5 #A330B5
triadic
#6130B5 #B56130 #30B561
tetradic
#6130B5 #B53042 #84B530 #30B5A3
square
#6130B5 #B53042 #84B530 #30B5A3
split-complementary
#6130B5 #B5A330 #42B530
monochromatic
#2D1654 #472385 #6130B5 #8051D1 #A482DE
Accessibility & contrast
On white
8.08
#6130B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#6130B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6130B5
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6130B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6130B5 | 1.00 | 8.08 | 2.60 | 8.08 |
| #FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#485370
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6130b5; /* rgb */ color: rgb(97, 48, 181); /* oklch */ color: oklch(45.3% 0.195 294.0);
Tailwind
colors: {
custom: {
50: '#966dcc',
500: '#6130b5',
950: '#000000',
},
}SCSS
$custom: #6130b5; $custom-light: #966dcc; $custom-dark: #000000;
JSON
{
"hex": "#6130b5",
"rgb": {
"r": 97,
"g": 48,
"b": 181
},
"hsl": {
"h": 262.105,
"s": 58.079,
"l": 44.902
},
"oklch": {
"l": 0.45339,
"c": 0.1953,
"h": 294
},
"luminance": 0.07991
}Semantic roles & 50–950 ramp
primary
#6130B5
secondary
#ABC77A
accent
#E146A8
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82