#3E1679#3E1679

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

Color values

HEX#3E1679
RGBrgb(62, 22, 121)
HSLhsl(264, 69%, 28%)
HSVhsv(264, 82%, 47%)
CMYKcmyk(48.8%, 81.8%, 0%, 52.5%)
CIE-LABlab(19.96, 41.00, -48.50)
CIE-LCHlch(19.96, 63.50, 310.21°)
OKLaboklab(32.87% 0.0638 -0.1391)
OKLCHoklch(32.87% 0.153 294.7)
XYZxyz(5.7238, 2.9783, 18.3587)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1679 #517916
analogous
#162079 #3E1679 #6F1679
triadic
#3E1679 #793E16 #16793E
tetradic
#3E1679 #791620 #517916 #16796F
square
#3E1679 #791620 #517916 #16796F
split-complementary
#3E1679 #796F16 #207916
monochromatic
#0D051A #230D45 #3E1679 #591FAD #7430D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E1679#FFFFFF#000000##FFFFFF
##3E16791.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)
#00317C
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#2C3247
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3e1679;
/* rgb */ color: rgb(62, 22, 121);
/* oklch */ color: oklch(32.9% 0.153 294.7);
Tailwind
colors: {
  custom: {
    50: '#7a59a1',
    500: '#3e1679',
    950: '#000000',
  },
}
SCSS
$custom: #3e1679;
$custom-light: #7a59a1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1679",
  "rgb": {
    "r": 62,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 264.242,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32867,
    "c": 0.15305,
    "h": 294.7
  },
  "luminance": 0.02978
}

Semantic roles & 50–950 ramp

primary
#3E1679
secondary
#80AE3D
accent
#EC3CA5
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3E1679

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

Preview Lab → · Contrast checker → · Palette generator →

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