#3E1E9A#3E1E9A

#3E1E9A is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.183 H 284.9°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#3E1E9A
RGBrgb(62, 30, 154)
HSLhsl(255, 67%, 36%)
HSVhsv(255, 81%, 60%)
CMYKcmyk(59.7%, 80.5%, 0%, 39.6%)
CIE-LABlab(24.59, 46.70, -61.52)
CIE-LCHlch(24.59, 77.24, 307.20°)
OKLaboklab(37.11% 0.0473 -0.1773)
OKLCHoklch(37.11% 0.183 284.9)
XYZxyz(8.2818, 4.2853, 30.9563)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1E9A #7A9A1E
analogous
#1E3C9A #3E1E9A #7C1E9A
triadic
#3E1E9A #9A3E1E #1E9A3E
tetradic
#3E1E9A #9A1E3C #7A9A1E #1E9A7C
square
#3E1E9A #9A1E3C #7A9A1E #1E9A7C
split-complementary
#3E1E9A #9A7C1E #3C9A1E
monochromatic
#150A34 #291467 #3E1E9A #5328CD #7855DE

Accessibility & contrast

On white

11.31
#3E1E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3E1E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1E9A
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1E9A#FFFFFF#000000##FFFFFF
##3E1E9A1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003798
Tritanopia (blue-blind)
#06435C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3e1e9a;
/* rgb */ color: rgb(62, 30, 154);
/* oklch */ color: oklch(37.1% 0.183 284.9);
Tailwind
colors: {
  custom: {
    50: '#7f5fb9',
    500: '#3e1e9a',
    950: '#000000',
  },
}
SCSS
$custom: #3e1e9a;
$custom-light: #7f5fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1e9a",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 154
  },
  "hsl": {
    "h": 255.484,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37106,
    "c": 0.18348,
    "h": 284.9
  },
  "luminance": 0.04286
}

Semantic roles & 50–950 ramp

primary
#3E1E9A
secondary
#A5C153
accent
#EA3EBE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3E1E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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