#3E1081#3E1081

#3E1081 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.167 H 292.9°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#3E1081
RGBrgb(62, 16, 129)
HSLhsl(264, 78%, 28%)
HSVhsv(264, 88%, 51%)
CMYKcmyk(51.9%, 87.6%, 0%, 49.4%)
CIE-LABlab(19.96, 45.54, -53.58)
CIE-LCHlch(19.96, 70.32, 310.36°)
OKLaboklab(33.12% 0.065 -0.1539)
OKLCHoklch(33.12% 0.167 292.9)
XYZxyz(6.1332, 2.9795, 21.0166)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1081 #538110
analogous
#101A81 #3E1081 #761081
triadic
#3E1081 #813E10 #10813E
tetradic
#3E1081 #81101A #538110 #108176
square
#3E1081 #81101A #538110 #108176
split-complementary
#3E1081 #817610 #1A8110
monochromatic
#0D031B #24094B #3E1081 #5817B7 #7427E4

Accessibility & contrast

On white

13.16
#3E1081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#3E1081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1081
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1081#FFFFFF#000000##FFFFFF
##3E10811.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003284
Deuteranopia (green-blind)
#002E7F
Tritanopia (blue-blind)
#28334B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3e1081;
/* rgb */ color: rgb(62, 16, 129);
/* oklch */ color: oklch(33.1% 0.167 292.9);
Tailwind
colors: {
  custom: {
    50: '#7c57a7',
    500: '#3e1081',
    950: '#000000',
  },
}
SCSS
$custom: #3e1081;
$custom-light: #7c57a7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1081",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 129
  },
  "hsl": {
    "h": 264.425,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33119,
    "c": 0.16709,
    "h": 292.9
  },
  "luminance": 0.0298
}

Semantic roles & 50–950 ramp

primary
#3E1081
secondary
#82B736
accent
#F433A6
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0310
muted
#7C787F

Preview Lab

Preview with #3E1081

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

Preview Lab → · Contrast checker → · Palette generator →

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