#3E1D73#3E1D73

#3E1D73 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.138 H 295.3°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#3E1D73
RGBrgb(62, 29, 115)
HSLhsl(263, 60%, 28%)
HSVhsv(263, 75%, 45%)
CMYKcmyk(46.1%, 74.8%, 0%, 54.9%)
CIE-LABlab(20.60, 35.88, -43.60)
CIE-LCHlch(20.60, 56.46, 309.45°)
OKLaboklab(33.14% 0.0591 -0.1248)
OKLCHoklch(33.14% 0.138 295.3)
XYZxyz(5.5197, 3.1405, 16.5317)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1D73 #52731D
analogous
#1D2773 #3E1D73 #691D73
triadic
#3E1D73 #733E1D #1D733E
tetradic
#3E1D73 #731D27 #52731D #1D7369
square
#3E1D73 #731D27 #52731D #1D7369
split-complementary
#3E1D73 #73691D #27731D
monochromatic
#0D0618 #241142 #3E1D73 #5829A4 #743CCE

Accessibility & contrast

On white

12.90
#3E1D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1D73
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1D73#FFFFFF#000000##FFFFFF
##3E1D731.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e1d73;
/* rgb */ color: rgb(62, 29, 115);
/* oklch */ color: oklch(33.1% 0.138 295.3);
Tailwind
colors: {
  custom: {
    50: '#795c9c',
    500: '#3e1d73',
    950: '#000000',
  },
}
SCSS
$custom: #3e1d73;
$custom-light: #795c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1d73",
  "rgb": {
    "r": 62,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 263.023,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33144,
    "c": 0.13806,
    "h": 295.3
  },
  "luminance": 0.03141
}

Semantic roles & 50–950 ramp

primary
#3E1D73
secondary
#81A745
accent
#E345A6
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3E1D73

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

Preview Lab → · Contrast checker → · Palette generator →

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