#3E1D94#3E1D94

#3E1D94 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.177 H 286.3°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#3E1D94
RGBrgb(62, 29, 148)
HSLhsl(257, 67%, 35%)
HSVhsv(257, 80%, 58%)
CMYKcmyk(58.1%, 80.4%, 0%, 42%)
CIE-LABlab(23.80, 45.43, -59.13)
CIE-LCHlch(23.80, 74.56, 307.53°)
OKLaboklab(36.37% 0.0499 -0.1703)
OKLCHoklch(36.37% 0.177 286.3)
XYZxyz(7.7697, 4.0405, 28.3817)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1D94 #73941D
analogous
#1D3794 #3E1D94 #7A1D94
triadic
#3E1D94 #943E1D #1D943E
tetradic
#3E1D94 #941D37 #73941D #1D947A
square
#3E1D94 #941D37 #73941D #1D947A
split-complementary
#3E1D94 #947A1D #37941D
monochromatic
#13092E #291361 #3E1D94 #5327C7 #764FDC

Accessibility & contrast

On white

11.61
#3E1D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#3E1D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1D94
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1D94#FFFFFF#000000##FFFFFF
##3E1D941.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003592
Tritanopia (blue-blind)
#134058
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3e1d94;
/* rgb */ color: rgb(62, 29, 148);
/* oklch */ color: oklch(36.4% 0.177 286.3);
Tailwind
colors: {
  custom: {
    50: '#7e5eb5',
    500: '#3e1d94',
    950: '#000000',
  },
}
SCSS
$custom: #3e1d94;
$custom-light: #7e5eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1d94",
  "rgb": {
    "r": 62,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 256.639,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36371,
    "c": 0.17743,
    "h": 286.3
  },
  "luminance": 0.04041
}

Semantic roles & 50–950 ramp

primary
#3E1D94
secondary
#A0BF4E
accent
#EA3EBA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3E1D94

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

Preview Lab → · Contrast checker → · Palette generator →

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