#3E1D79#3E1D79

#3E1D79 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.145 H 293.4°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#3E1D79
RGBrgb(62, 29, 121)
HSLhsl(262, 61%, 29%)
HSVhsv(262, 76%, 47%)
CMYKcmyk(48.8%, 76%, 0%, 52.5%)
CIE-LABlab(21.14, 37.60, -46.55)
CIE-LCHlch(21.14, 59.84, 308.93°)
OKLaboklab(33.7% 0.0577 -0.1335)
OKLCHoklch(33.7% 0.145 293.4)
XYZxyz(5.8762, 3.2832, 18.4096)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1D79 #58791D
analogous
#1D2A79 #3E1D79 #6C1D79
triadic
#3E1D79 #793E1D #1D793E
tetradic
#3E1D79 #791D2A #58791D #1D796C
square
#3E1D79 #791D2A #58791D #1D796C
split-complementary
#3E1D79 #796C1D #2A791D
monochromatic
#0D0619 #251148 #3E1D79 #5729AA #743FD1

Accessibility & contrast

On white

12.68
#3E1D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#3E1D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1D79
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1D79#FFFFFF#000000##FFFFFF
##3E1D791.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e1d79;
/* rgb */ color: rgb(62, 29, 121);
/* oklch */ color: oklch(33.7% 0.145 293.4);
Tailwind
colors: {
  custom: {
    50: '#7a5ca1',
    500: '#3e1d79',
    950: '#000000',
  },
}
SCSS
$custom: #3e1d79;
$custom-light: #7a5ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1d79",
  "rgb": {
    "r": 62,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 261.522,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33699,
    "c": 0.1454,
    "h": 293.4
  },
  "luminance": 0.03283
}

Semantic roles & 50–950 ramp

primary
#3E1D79
secondary
#88AD45
accent
#E443AB
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3E1D79

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

Preview Lab → · Contrast checker → · Palette generator →

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