#3E1690#3E1690

#3E1690 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.2% C 0.179 H 288.1°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#3E1690
RGBrgb(62, 22, 144)
HSLhsl(260, 73%, 33%)
HSVhsv(260, 85%, 56%)
CMYKcmyk(56.9%, 84.7%, 0%, 43.5%)
CIE-LABlab(22.34, 47.33, -59.06)
CIE-LCHlch(22.34, 75.69, 308.70°)
OKLaboklab(35.23% 0.0556 -0.17)
OKLCHoklch(35.23% 0.179 288.1)
XYZxyz(7.3061, 3.6112, 26.6922)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1690 #689016
analogous
#162B90 #3E1690 #7B1690
triadic
#3E1690 #903E16 #16903E
tetradic
#3E1690 #90162B #689016 #16907B
square
#3E1690 #90162B #689016 #16907B
split-complementary
#3E1690 #907B16 #2B9016
monochromatic
#100626 #270E5B #3E1690 #551EC5 #743FE2

Accessibility & contrast

On white

12.19
#3E1690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#3E1690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1690
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1690#FFFFFF#000000##FFFFFF
##3E16901.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#193C55
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3e1690;
/* rgb */ color: rgb(62, 22, 144);
/* oklch */ color: oklch(35.2% 0.179 288.1);
Tailwind
colors: {
  custom: {
    50: '#7e5ab2',
    500: '#3e1690',
    950: '#000000',
  },
}
SCSS
$custom: #3e1690;
$custom-light: #7e5ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1690",
  "rgb": {
    "r": 62,
    "g": 22,
    "b": 144
  },
  "hsl": {
    "h": 259.672,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35233,
    "c": 0.17888,
    "h": 288.1
  },
  "luminance": 0.03612
}

Semantic roles & 50–950 ramp

primary
#3E1690
secondary
#97C240
accent
#F038B4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3E1690

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

Preview Lab → · Contrast checker → · Palette generator →

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