#3E1EA8#3E1EA8

#3E1EA8 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.6% C 0.200 H 282.4°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#3E1EA8
RGBrgb(62, 30, 168)
HSLhsl(254, 70%, 39%)
HSVhsv(254, 82%, 66%)
CMYKcmyk(63.1%, 82.1%, 0%, 34.1%)
CIE-LABlab(26.10, 50.73, -67.56)
CIE-LCHlch(26.10, 84.49, 306.90°)
OKLaboklab(38.59% 0.0427 -0.1949)
OKLCHoklch(38.59% 0.2 282.4)
XYZxyz(9.5166, 4.7791, 37.4592)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1EA8 #88A81E
analogous
#1E43A8 #3E1EA8 #831EA8
triadic
#3E1EA8 #A83E1E #1EA83E
tetradic
#3E1EA8 #A81E43 #88A81E #1EA883
square
#3E1EA8 #A81E43 #88A81E #1EA883
split-complementary
#3E1EA8 #A8831E #43A81E
monochromatic
#180B40 #2B1574 #3E1EA8 #532AD9 #7D5EE2

Accessibility & contrast

On white

10.74
#3E1EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3E1EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1EA8
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1EA8#FFFFFF#000000##FFFFFF
##3E1EA81.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AC
Deuteranopia (green-blind)
#0039A6
Tritanopia (blue-blind)
#004964
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e1ea8;
/* rgb */ color: rgb(62, 30, 168);
/* oklch */ color: oklch(38.6% 0.200 282.4);
Tailwind
colors: {
  custom: {
    50: '#8260c3',
    500: '#3e1ea8',
    950: '#000000',
  },
}
SCSS
$custom: #3e1ea8;
$custom-light: #8260c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1ea8",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 253.913,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38593,
    "c": 0.1995,
    "h": 282.4
  },
  "luminance": 0.0478
}

Semantic roles & 50–950 ramp

primary
#3E1EA8
secondary
#AEC75B
accent
#ED3BC3
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3E1EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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