#3E1481#3E1481

#3E1481 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.5% C 0.164 H 292.4°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#3E1481
RGBrgb(62, 20, 129)
HSLhsl(263, 73%, 29%)
HSVhsv(263, 84%, 51%)
CMYKcmyk(51.9%, 84.5%, 0%, 49.4%)
CIE-LABlab(20.48, 44.03, -52.73)
CIE-LCHlch(20.48, 68.70, 309.86°)
OKLaboklab(33.47% 0.0625 -0.1515)
OKLCHoklch(33.47% 0.164 292.4)
XYZxyz(6.1981, 3.1092, 21.0382)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1481 #578114
analogous
#142181 #3E1481 #751481
triadic
#3E1481 #813E14 #14813E
tetradic
#3E1481 #811421 #578114 #148175
square
#3E1481 #811421 #578114 #148175
split-complementary
#3E1481 #817514 #218114
monochromatic
#0D041A #250C4C #3E1481 #571CB6 #7430DF

Accessibility & contrast

On white

12.95
#3E1481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#3E1481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1481
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1481#FFFFFF#000000##FFFFFF
##3E14811.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003384
Deuteranopia (green-blind)
#002F7F
Tritanopia (blue-blind)
#27354C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3e1481;
/* rgb */ color: rgb(62, 20, 129);
/* oklch */ color: oklch(33.5% 0.164 292.4);
Tailwind
colors: {
  custom: {
    50: '#7c58a7',
    500: '#3e1481',
    950: '#000000',
  },
}
SCSS
$custom: #3e1481;
$custom-light: #7c58a7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1481",
  "rgb": {
    "r": 62,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 263.119,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33472,
    "c": 0.16388,
    "h": 292.4
  },
  "luminance": 0.03109
}

Semantic roles & 50–950 ramp

primary
#3E1481
secondary
#87B63B
accent
#F038A9
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3E1481

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#3E1481 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva