#3F269C#3F269C
#3F269C is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.178 H 283.9°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).
Color values
| HEX | #3F269C |
|---|---|
| RGB | rgb(63, 38, 156) |
| HSL | hsl(253, 61%, 38%) |
| HSV | hsv(253, 76%, 61%) |
| CMYK | cmyk(59.6%, 75.6%, 0%, 38.8%) |
| CIE-LAB | lab(26.28, 43.45, -59.96) |
| CIE-LCH | lch(26.28, 74.05, 305.93°) |
| OKLab | oklab(38.37% 0.0428 -0.1728) |
| OKLCH | oklch(38.37% 0.178 283.9) |
| XYZ | xyz(8.7419, 4.8427, 31.9201) |
| Luminance | 0.0484 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.67
Royal
#0C1793
ΔE00 5.60
Ultramarine
#2000B1
ΔE00 6.13
Cobalt Blue
#030AA7
ΔE00 6.19
Royal Blue (survey)
#0504AA
ΔE00 6.51
Sapphire (survey)
#2138AB
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F269C #839C26
analogous
#26489C #3F269C #7A269C
triadic
#3F269C #9C3F26 #269C3F
tetradic
#3F269C #9C2648 #839C26 #269C7A
square
#3F269C #9C2648 #839C26 #269C7A
split-complementary
#3F269C #9C7A26 #489C26
monochromatic
#170E3A #2B1A6B #3F269C #5332CD #7C63D9
Accessibility & contrast
On white
10.67
#3F269C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#3F269C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F269C
10.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F269C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F269C | 1.00 | 10.67 | 1.97 | 10.67 |
| #FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#05475F
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3f269c; /* rgb */ color: rgb(63, 38, 156); /* oklch */ color: oklch(38.4% 0.178 283.9);
Tailwind
colors: {
custom: {
50: '#7f63ba',
500: '#3f269c',
950: '#000000',
},
}SCSS
$custom: #3f269c; $custom-light: #7f63ba; $custom-dark: #000000;
JSON
{
"hex": "#3f269c",
"rgb": {
"r": 63,
"g": 38,
"b": 156
},
"hsl": {
"h": 252.712,
"s": 60.825,
"l": 38.039
},
"oklch": {
"l": 0.38373,
"c": 0.17799,
"h": 283.9
},
"luminance": 0.04843
}Semantic roles & 50–950 ramp
primary
#3F269C
secondary
#AABF5F
accent
#E444C2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81