#3E1E79#3E1E79

#3E1E79 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.144 H 293.2°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#3E1E79
RGBrgb(62, 30, 121)
HSLhsl(261, 60%, 30%)
HSVhsv(261, 75%, 47%)
CMYKcmyk(48.8%, 75.2%, 0%, 52.5%)
CIE-LABlab(21.33, 37.08, -46.25)
CIE-LCHlch(21.33, 59.27, 308.72°)
OKLaboklab(33.83% 0.0567 -0.1326)
OKLCHoklch(33.83% 0.144 293.2)
XYZxyz(5.9011, 3.3330, 18.4179)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1E79 #59791E
analogous
#1E2C79 #3E1E79 #6C1E79
triadic
#3E1E79 #793E1E #1E793E
tetradic
#3E1E79 #791E2C #59791E #1E796C
square
#3E1E79 #791E2C #59791E #1E796C
split-complementary
#3E1E79 #796C1E #2C791E
monochromatic
#0D0619 #251248 #3E1E79 #572AAA #7441D0

Accessibility & contrast

On white

12.60
#3E1E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#3E1E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1E79
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1E79#FFFFFF#000000##FFFFFF
##3E1E791.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#003177
Tritanopia (blue-blind)
#2C3649
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3e1e79;
/* rgb */ color: rgb(62, 30, 121);
/* oklch */ color: oklch(33.8% 0.144 293.2);
Tailwind
colors: {
  custom: {
    50: '#7a5da1',
    500: '#3e1e79',
    950: '#000000',
  },
}
SCSS
$custom: #3e1e79;
$custom-light: #7a5da1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1e79",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 261.099,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33832,
    "c": 0.14418,
    "h": 293.2
  },
  "luminance": 0.03333
}

Semantic roles & 50–950 ramp

primary
#3E1E79
secondary
#89AD46
accent
#E344AB
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3E1E79

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

Preview Lab → · Contrast checker → · Palette generator →

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