#3E1A84#3E1A84

#3E1A84 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.162 H 290.7°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#3E1A84
RGBrgb(62, 26, 132)
HSLhsl(260, 67%, 31%)
HSVhsv(260, 80%, 52%)
CMYKcmyk(53%, 80.3%, 0%, 48.2%)
CIE-LABlab(21.68, 42.24, -52.64)
CIE-LCHlch(21.68, 67.49, 308.75°)
OKLaboklab(34.4% 0.0571 -0.1513)
OKLCHoklch(34.4% 0.162 290.7)
XYZxyz(6.5197, 3.4286, 22.1436)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1A84 #60841A
analogous
#1A2B84 #3E1A84 #731A84
triadic
#3E1A84 #843E1A #1A843E
tetradic
#3E1A84 #841A2B #60841A #1A8473
square
#3E1A84 #841A2B #60841A #1A8473
split-complementary
#3E1A84 #84731A #2B841A
monochromatic
#0E061E #261051 #3E1A84 #5624B7 #733FD9

Accessibility & contrast

On white

12.46
#3E1A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#3E1A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1A84
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1A84#FFFFFF#000000##FFFFFF
##3E1A841.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003687
Deuteranopia (green-blind)
#003282
Tritanopia (blue-blind)
#25384F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3e1a84;
/* rgb */ color: rgb(62, 26, 132);
/* oklch */ color: oklch(34.4% 0.162 290.7);
Tailwind
colors: {
  custom: {
    50: '#7c5ba9',
    500: '#3e1a84',
    950: '#000000',
  },
}
SCSS
$custom: #3e1a84;
$custom-light: #7c5ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1a84",
  "rgb": {
    "r": 62,
    "g": 26,
    "b": 132
  },
  "hsl": {
    "h": 260.377,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34403,
    "c": 0.16171,
    "h": 290.7
  },
  "luminance": 0.03429
}

Semantic roles & 50–950 ramp

primary
#3E1A84
secondary
#90B842
accent
#EA3EB0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3E1A84

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

Preview Lab → · Contrast checker → · Palette generator →

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