#3E1381#3E1381

#3E1381 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.165 H 292.5°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#3E1381
RGBrgb(62, 19, 129)
HSLhsl(263, 74%, 29%)
HSVhsv(263, 85%, 51%)
CMYKcmyk(51.9%, 85.3%, 0%, 49.4%)
CIE-LABlab(20.34, 44.43, -52.96)
CIE-LCHlch(20.34, 69.12, 309.99°)
OKLaboklab(33.38% 0.0632 -0.1521)
OKLCHoklch(33.38% 0.165 292.5)
XYZxyz(6.1808, 3.0746, 21.0324)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1381 #568113
analogous
#131F81 #3E1381 #751381
triadic
#3E1381 #813E13 #13813E
tetradic
#3E1381 #81131F #568113 #138175
square
#3E1381 #81131F #568113 #138175
split-complementary
#3E1381 #817513 #1F8113
monochromatic
#0D041B #240B4C #3E1381 #581BB6 #742EE0

Accessibility & contrast

On white

13.00
#3E1381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#3E1381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1381
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1381#FFFFFF#000000##FFFFFF
##3E13811.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003284
Deuteranopia (green-blind)
#002F7F
Tritanopia (blue-blind)
#27344C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3e1381;
/* rgb */ color: rgb(62, 19, 129);
/* oklch */ color: oklch(33.4% 0.165 292.5);
Tailwind
colors: {
  custom: {
    50: '#7c58a7',
    500: '#3e1381',
    950: '#000000',
  },
}
SCSS
$custom: #3e1381;
$custom-light: #7c58a7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1381",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 263.455,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33379,
    "c": 0.16472,
    "h": 292.5
  },
  "luminance": 0.03075
}

Semantic roles & 50–950 ramp

primary
#3E1381
secondary
#86B63A
accent
#F137A8
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3E1381

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

Preview Lab → · Contrast checker → · Palette generator →

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