#3E1680#3E1680

#3E1680 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.161 H 292.4°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#3E1680
RGBrgb(62, 22, 128)
HSLhsl(263, 71%, 29%)
HSVhsv(263, 83%, 50%)
CMYKcmyk(51.6%, 82.8%, 0%, 49.8%)
CIE-LABlab(20.66, 42.92, -51.80)
CIE-LCHlch(20.66, 67.27, 309.65°)
OKLaboklab(33.57% 0.0615 -0.1488)
OKLCHoklch(33.57% 0.161 292.4)
XYZxyz(6.1687, 3.1562, 20.7021)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1680 #588016
analogous
#162380 #3E1680 #731680
triadic
#3E1680 #803E16 #16803E
tetradic
#3E1680 #801623 #588016 #168073
square
#3E1680 #801623 #588016 #168073
split-complementary
#3E1680 #807316 #238016
monochromatic
#0D041A #250D4C #3E1680 #571FB4 #7434DC

Accessibility & contrast

On white

12.87
#3E1680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1680
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1680#FFFFFF#000000##FFFFFF
##3E16801.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003383
Deuteranopia (green-blind)
#00307E
Tritanopia (blue-blind)
#28354C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3e1680;
/* rgb */ color: rgb(62, 22, 128);
/* oklch */ color: oklch(33.6% 0.161 292.4);
Tailwind
colors: {
  custom: {
    50: '#7b59a6',
    500: '#3e1680',
    950: '#000000',
  },
}
SCSS
$custom: #3e1680;
$custom-light: #7b59a6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1680",
  "rgb": {
    "r": 62,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 262.642,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33568,
    "c": 0.16097,
    "h": 292.4
  },
  "luminance": 0.03156
}

Semantic roles & 50–950 ramp

primary
#3E1680
secondary
#88B53D
accent
#ED3AAA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3E1680

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

Preview Lab → · Contrast checker → · Palette generator →

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