#3F269B#3F269B
#3F269B is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.177 H 284.1°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).
Color values
| HEX | #3F269B |
|---|---|
| RGB | rgb(63, 38, 155) |
| HSL | hsl(253, 61%, 38%) |
| HSV | hsv(253, 75%, 61%) |
| CMYK | cmyk(59.4%, 75.5%, 0%, 39.2%) |
| CIE-LAB | lab(26.18, 43.14, -59.51) |
| CIE-LCH | lch(26.18, 73.51, 305.94°) |
| OKLab | oklab(38.27% 0.043 -0.1714) |
| OKLCH | oklch(38.27% 0.177 284.1) |
| XYZ | xyz(8.6576, 4.8090, 31.4760) |
| Luminance | 0.0481 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.79
Royal
#0C1793
ΔE00 5.57
Ultramarine
#2000B1
ΔE00 6.20
Cobalt Blue
#030AA7
ΔE00 6.23
Royal Blue (survey)
#0504AA
ΔE00 6.56
Sapphire (survey)
#2138AB
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F269B #829B26
analogous
#26479B #3F269B #7A269B
triadic
#3F269B #9B3F26 #269B3F
tetradic
#3F269B #9B2647 #829B26 #269B7A
square
#3F269B #9B2647 #829B26 #269B7A
split-complementary
#3F269B #9B7A26 #479B26
monochromatic
#170E39 #2B1A6A #3F269B #5332CC #7C63D9
Accessibility & contrast
On white
10.70
#3F269B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#3F269B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F269B
10.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F269B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F269B | 1.00 | 10.70 | 1.96 | 10.70 |
| #FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#08475F
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3f269b; /* rgb */ color: rgb(63, 38, 155); /* oklch */ color: oklch(38.3% 0.177 284.1);
Tailwind
colors: {
custom: {
50: '#7f63ba',
500: '#3f269b',
950: '#000000',
},
}SCSS
$custom: #3f269b; $custom-light: #7f63ba; $custom-dark: #000000;
JSON
{
"hex": "#3f269b",
"rgb": {
"r": 63,
"g": 38,
"b": 155
},
"hsl": {
"h": 252.821,
"s": 60.622,
"l": 37.843
},
"oklch": {
"l": 0.38274,
"c": 0.17676,
"h": 284.1
},
"luminance": 0.0481
}Semantic roles & 50–950 ramp
primary
#3F269B
secondary
#AABE5F
accent
#E444C2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81