#6036B2#6036B2
#6036B2 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.7% C 0.185 H 293.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #6036B2 |
|---|---|
| RGB | rgb(96, 54, 178) |
| HSL | hsl(260, 53%, 45%) |
| HSV | hsv(260, 70%, 70%) |
| CMYK | cmyk(46.1%, 69.7%, 0%, 30.2%) |
| CIE-LAB | lab(34.68, 46.72, -59.33) |
| CIE-LCH | lch(34.68, 75.51, 308.22°) |
| OKLab | oklab(45.74% 0.0729 -0.1699) |
| OKLCH | oklch(45.74% 0.185 293.2) |
| XYZ | xyz(14.1767, 8.3390, 42.9735) |
| Luminance | 0.0834 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 3.97
Bluey Purple
#6241C7
ΔE00 4.11
Blurple
#5539CC
ΔE00 4.19
Ocean Blue
#4F42B5
ΔE00 4.49
Rebeccapurple
#663399
ΔE00 4.54
Purple Blue
#5D21D0
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6036B2 #88B236
analogous
#364AB2 #6036B2 #9E36B2
triadic
#6036B2 #B26036 #36B260
tetradic
#6036B2 #B2364A #88B236 #36B29E
square
#6036B2 #B2364A #88B236 #36B29E
split-complementary
#6036B2 #B29E36 #4AB236
monochromatic
#2D1A54 #472883 #6036B2 #8059CD #A488DB
Accessibility & contrast
On white
7.87
#6036B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#6036B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6036B2
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6036B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6036B2 | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#485570
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #6036b2; /* rgb */ color: rgb(96, 54, 178); /* oklch */ color: oklch(45.7% 0.185 293.2);
Tailwind
colors: {
custom: {
50: '#9470ca',
500: '#6036b2',
950: '#000000',
},
}SCSS
$custom: #6036b2; $custom-light: #9470ca; $custom-dark: #000000;
JSON
{
"hex": "#6036b2",
"rgb": {
"r": 96,
"g": 54,
"b": 178
},
"hsl": {
"h": 260.323,
"s": 53.448,
"l": 45.49
},
"oklch": {
"l": 0.45743,
"c": 0.18484,
"h": 293.2
},
"luminance": 0.08339
}Semantic roles & 50–950 ramp
primary
#6036B2
secondary
#ADC57F
accent
#DD4BAB
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82