#3E1890#3E1890

#3E1890 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.177 H 287.9°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#3E1890
RGBrgb(62, 24, 144)
HSLhsl(259, 71%, 33%)
HSVhsv(259, 83%, 56%)
CMYKcmyk(56.9%, 83.3%, 0%, 43.5%)
CIE-LABlab(22.62, 46.51, -58.60)
CIE-LCHlch(22.62, 74.82, 308.44°)
OKLaboklab(35.43% 0.0544 -0.1687)
OKLCHoklch(35.43% 0.177 287.9)
XYZxyz(7.3458, 3.6906, 26.7054)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1890 #6A9018
analogous
#182E90 #3E1890 #7A1890
triadic
#3E1890 #903E18 #18903E
tetradic
#3E1890 #90182E #6A9018 #18907A
square
#3E1890 #90182E #6A9018 #18907A
split-complementary
#3E1890 #907A18 #2E9018
monochromatic
#110727 #270F5C #3E1890 #5521C4 #7443E0

Accessibility & contrast

On white

12.08
#3E1890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#3E1890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1890
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1890#FFFFFF#000000##FFFFFF
##3E18901.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#00338E
Tritanopia (blue-blind)
#193C55
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3e1890;
/* rgb */ color: rgb(62, 24, 144);
/* oklch */ color: oklch(35.4% 0.177 287.9);
Tailwind
colors: {
  custom: {
    50: '#7e5bb2',
    500: '#3e1890',
    950: '#000000',
  },
}
SCSS
$custom: #3e1890;
$custom-light: #7e5bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1890",
  "rgb": {
    "r": 62,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 259,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35426,
    "c": 0.17725,
    "h": 287.9
  },
  "luminance": 0.03691
}

Semantic roles & 50–950 ramp

primary
#3E1890
secondary
#99C043
accent
#EE3AB5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3E1890

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

Preview Lab → · Contrast checker → · Palette generator →

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