#6B2DAF#6B2DAF
#6B2DAF is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.193 H 300.5°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #6B2DAF |
|---|---|
| RGB | rgb(107, 45, 175) |
| HSL | hsl(269, 59%, 43%) |
| HSV | hsv(269, 74%, 69%) |
| CMYK | cmyk(38.9%, 74.3%, 0%, 31.4%) |
| CIE-LAB | lab(34.19, 52.30, -58.29) |
| CIE-LCH | lch(34.19, 78.31, 311.90°) |
| OKLab | oklab(45.61% 0.098 -0.1664) |
| OKLCH | oklch(45.61% 0.193 300.5) |
| XYZ | xyz(14.7377, 8.0976, 41.3357) |
| Luminance | 0.0810 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.66
Purple Blue
#5D21D0
ΔE00 5.28
Purple (survey)
#7E1E9C
ΔE00 5.62
Bluey Purple
#6241C7
ΔE00 6.07
Blurple
#5539CC
ΔE00 6.25
Blue With A Hint Of Purple
#533CC6
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B2DAF #71AF2D
analogous
#2D30AF #6B2DAF #AC2DAF
triadic
#6B2DAF #AF6B2D #2DAF6B
tetradic
#6B2DAF #AF2D30 #71AF2D #2DAFAC
square
#6B2DAF #AF2D30 #71AF2D #2DAFAC
split-complementary
#6B2DAF #AFAC2D #30AF2D
monochromatic
#2F144E #4D207E #6B2DAF #8949D0 #A97ADD
Accessibility & contrast
On white
8.02
#6B2DAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#6B2DAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B2DAF
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B2DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B2DAF | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#5C4E6C
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6b2daf; /* rgb */ color: rgb(107, 45, 175); /* oklch */ color: oklch(45.6% 0.193 300.5);
Tailwind
colors: {
custom: {
50: '#9b6cc8',
500: '#6b2daf',
950: '#000000',
},
}SCSS
$custom: #6b2daf; $custom-light: #9b6cc8; $custom-dark: #000000;
JSON
{
"hex": "#6b2daf",
"rgb": {
"r": 107,
"g": 45,
"b": 175
},
"hsl": {
"h": 268.615,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.45611,
"c": 0.19314,
"h": 300.5
},
"luminance": 0.08098
}Semantic roles & 50–950 ramp
primary
#6B2DAF
secondary
#9EC573
accent
#E24698
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82