#3F2194#3F2194
#3F2194 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.173 H 286.3°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2194 |
|---|---|
| RGB | rgb(63, 33, 148) |
| HSL | hsl(256, 64%, 35%) |
| HSV | hsv(256, 78%, 58%) |
| CMYK | cmyk(57.4%, 77.7%, 0%, 42%) |
| CIE-LAB | lab(24.58, 43.62, -57.84) |
| CIE-LCH | lch(24.58, 72.45, 307.02°) |
| OKLab | oklab(36.94% 0.0486 -0.1665) |
| OKLCH | oklch(36.94% 0.173 286.3) |
| XYZ | xyz(7.9374, 4.2821, 28.4195) |
| Luminance | 0.0428 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.23
Royal
#0C1793
ΔE00 5.11
Indigo (survey)
#380282
ΔE00 5.38
Indigo
#4B0082
ΔE00 5.83
Cobalt Blue
#030AA7
ΔE00 5.96
Ultramarine
#2000B1
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2194 #769421
analogous
#213C94 #3F2194 #782194
triadic
#3F2194 #943F21 #21943F
tetradic
#3F2194 #94213C #769421 #219478
square
#3F2194 #94213C #769421 #219478
split-complementary
#3F2194 #947821 #3C9421
monochromatic
#140B30 #2A1662 #3F2194 #542CC6 #7856D9
Accessibility & contrast
On white
11.31
#3F2194 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#3F2194 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2194
11.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2194 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2194 | 1.00 | 11.31 | 1.86 | 11.31 |
| #FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#174259
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3f2194; /* rgb */ color: rgb(63, 33, 148); /* oklch */ color: oklch(36.9% 0.173 286.3);
Tailwind
colors: {
custom: {
50: '#7e60b5',
500: '#3f2194',
950: '#000000',
},
}SCSS
$custom: #3f2194; $custom-light: #7e60b5; $custom-dark: #000000;
JSON
{
"hex": "#3f2194",
"rgb": {
"r": 63,
"g": 33,
"b": 148
},
"hsl": {
"h": 255.652,
"s": 63.536,
"l": 35.49
},
"oklch": {
"l": 0.36939,
"c": 0.17349,
"h": 286.3
},
"luminance": 0.04283
}Semantic roles & 50–950 ramp
primary
#3F2194
secondary
#A2BD54
accent
#E741BB
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980