#3B268F#3B268F
#3B268F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.162 H 284.2°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).
Color values
| HEX | #3B268F |
|---|---|
| RGB | rgb(59, 38, 143) |
| HSL | hsl(252, 58%, 35%) |
| HSV | hsv(252, 73%, 56%) |
| CMYK | cmyk(58.7%, 73.4%, 0%, 43.9%) |
| CIE-LAB | lab(24.64, 38.86, -54.68) |
| CIE-LCH | lch(24.64, 67.08, 305.40°) |
| OKLab | oklab(36.73% 0.0398 -0.1574) |
| OKLCH | oklch(36.73% 0.162 284.2) |
| XYZ | xyz(7.4532, 4.2987, 26.4183) |
| Luminance | 0.0430 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 5.19
Indigo Blue
#3A18B1
ΔE00 5.36
Indigo (survey)
#380282
ΔE00 6.20
Midnight Blue
#191970
ΔE00 6.59
Darkslateblue
#483D8B
ΔE00 6.70
Cobalt Blue
#030AA7
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B268F #7A8F26
analogous
#26458F #3B268F #6F268F
triadic
#3B268F #8F3B26 #268F3B
tetradic
#3B268F #8F2645 #7A8F26 #268F6F
square
#3B268F #8F2645 #7A8F26 #268F6F
split-complementary
#3B268F #8F6F26 #458F26
monochromatic
#130C2E #27195F #3B268F #4F33BF #745CD4
Accessibility & contrast
On white
11.29
#3B268F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#3B268F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B268F
11.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B268F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B268F | 1.00 | 11.29 | 1.86 | 11.29 |
| #FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#0E4258
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3b268f; /* rgb */ color: rgb(59, 38, 143); /* oklch */ color: oklch(36.7% 0.162 284.2);
Tailwind
colors: {
custom: {
50: '#7b63b1',
500: '#3b268f',
950: '#000000',
},
}SCSS
$custom: #3b268f; $custom-light: #7b63b1; $custom-dark: #000000;
JSON
{
"hex": "#3b268f",
"rgb": {
"r": 59,
"g": 38,
"b": 143
},
"hsl": {
"h": 252,
"s": 58.011,
"l": 35.49
},
"oklch": {
"l": 0.36731,
"c": 0.1624,
"h": 284.2
},
"luminance": 0.04299
}Semantic roles & 50–950 ramp
primary
#3B268F
secondary
#A5B958
accent
#E147C2
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980