#3E1D74#3E1D74

#3E1D74 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.2% C 0.139 H 295.0°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#3E1D74
RGBrgb(62, 29, 116)
HSLhsl(263, 60%, 28%)
HSVhsv(263, 75%, 45%)
CMYKcmyk(46.6%, 75%, 0%, 54.5%)
CIE-LABlab(20.69, 36.16, -44.09)
CIE-LCHlch(20.69, 57.02, 309.36°)
OKLaboklab(33.24% 0.0589 -0.1262)
OKLCHoklch(33.24% 0.139 295)
XYZxyz(5.5775, 3.1637, 16.8364)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1D74 #53741D
analogous
#1D2774 #3E1D74 #691D74
triadic
#3E1D74 #743E1D #1D743E
tetradic
#3E1D74 #741D27 #53741D #1D7469
square
#3E1D74 #741D27 #53741D #1D7469
split-complementary
#3E1D74 #74691D #27741D
monochromatic
#0D0618 #241143 #3E1D74 #5829A5 #743DCE

Accessibility & contrast

On white

12.86
#3E1D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#3E1D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1D74
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1D74#FFFFFF#000000##FFFFFF
##3E1D741.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003377
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#2F3346
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3e1d74;
/* rgb */ color: rgb(62, 29, 116);
/* oklch */ color: oklch(33.2% 0.139 295.0);
Tailwind
colors: {
  custom: {
    50: '#795c9d',
    500: '#3e1d74',
    950: '#000000',
  },
}
SCSS
$custom: #3e1d74;
$custom-light: #795c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1d74",
  "rgb": {
    "r": 62,
    "g": 29,
    "b": 116
  },
  "hsl": {
    "h": 262.759,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33236,
    "c": 0.13929,
    "h": 295
  },
  "luminance": 0.03164
}

Semantic roles & 50–950 ramp

primary
#3E1D74
secondary
#82A845
accent
#E345A7
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3E1D74

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

Preview Lab → · Contrast checker → · Palette generator →

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