#3E1E90#3E1E90

#3E1E90 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.172 H 287.1°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#3E1E90
RGBrgb(62, 30, 144)
HSLhsl(257, 66%, 34%)
HSVhsv(257, 79%, 56%)
CMYKcmyk(56.9%, 79.2%, 0%, 43.5%)
CIE-LABlab(23.56, 43.79, -57.06)
CIE-LCHlch(23.56, 71.93, 307.50°)
OKLaboklab(36.08% 0.0504 -0.1642)
OKLCHoklch(36.08% 0.172 287.1)
XYZxyz(7.4834, 3.9659, 26.7513)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1E90 #70901E
analogous
#1E3790 #3E1E90 #771E90
triadic
#3E1E90 #903E1E #1E903E
tetradic
#3E1E90 #901E37 #70901E #1E9077
square
#3E1E90 #901E37 #70901E #1E9077
split-complementary
#3E1E90 #90771E #37901E
monochromatic
#12092B #28135D #3E1E90 #5429C3 #764EDA

Accessibility & contrast

On white

11.71
#3E1E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#3E1E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1E90
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1E90#FFFFFF#000000##FFFFFF
##3E1E901.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#193F56
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3e1e90;
/* rgb */ color: rgb(62, 30, 144);
/* oklch */ color: oklch(36.1% 0.172 287.1);
Tailwind
colors: {
  custom: {
    50: '#7d5eb2',
    500: '#3e1e90',
    950: '#000000',
  },
}
SCSS
$custom: #3e1e90;
$custom-light: #7d5eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1e90",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 256.842,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36076,
    "c": 0.17181,
    "h": 287.1
  },
  "luminance": 0.03966
}

Semantic roles & 50–950 ramp

primary
#3E1E90
secondary
#9DBD4D
accent
#E83FB9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3E1E90

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

Preview Lab → · Contrast checker → · Palette generator →

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