#3E1DAD#3E1DAD

#3E1DAD is a dark, highly saturated violet. Relative luminance 0.049; OKLCH L 39.0% C 0.206 H 281.6°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#3E1DAD
RGBrgb(62, 29, 173)
HSLhsl(254, 71%, 40%)
HSVhsv(254, 83%, 68%)
CMYKcmyk(64.2%, 83.2%, 0%, 32.2%)
CIE-LABlab(26.50, 52.57, -69.90)
CIE-LCHlch(26.50, 87.46, 306.95°)
OKLaboklab(39.04% 0.0415 -0.2017)
OKLCHoklch(39.04% 0.206 281.6)
XYZxyz(9.9664, 4.9192, 39.9514)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1DAD #8CAD1D
analogous
#1D44AD #3E1DAD #861DAD
triadic
#3E1DAD #AD3E1D #1DAD3E
tetradic
#3E1DAD #AD1D44 #8CAD1D #1DAD86
square
#3E1DAD #AD1D44 #8CAD1D #1DAD86
split-complementary
#3E1DAD #AD861D #44AD1D
monochromatic
#180B44 #2B1479 #3E1DAD #542CDC #7E60E4

Accessibility & contrast

On white

10.58
#3E1DAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3E1DAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1DAD
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1DAD#FFFFFF#000000##FFFFFF
##3E1DAD1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B1
Deuteranopia (green-blind)
#0039AB
Tritanopia (blue-blind)
#004A67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3e1dad;
/* rgb */ color: rgb(62, 29, 173);
/* oklch */ color: oklch(39.0% 0.206 281.6);
Tailwind
colors: {
  custom: {
    50: '#8360c7',
    500: '#3e1dad',
    950: '#000000',
  },
}
SCSS
$custom: #3e1dad;
$custom-light: #8360c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1dad",
  "rgb": {
    "r": 62,
    "g": 29,
    "b": 173
  },
  "hsl": {
    "h": 253.75,
    "s": 71.287,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39036,
    "c": 0.20591,
    "h": 281.6
  },
  "luminance": 0.0492
}

Semantic roles & 50–950 ramp

primary
#3E1DAD
secondary
#B0C95D
accent
#EE3AC5
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3E1DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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