#3E1D80#3E1D80

#3E1D80 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.154 H 291.3°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#3E1D80
RGBrgb(62, 29, 128)
HSLhsl(260, 63%, 31%)
HSVhsv(260, 77%, 50%)
CMYKcmyk(51.6%, 77.3%, 0%, 49.8%)
CIE-LABlab(21.80, 39.63, -49.92)
CIE-LCHlch(21.80, 63.74, 308.45°)
OKLaboklab(34.37% 0.0559 -0.1433)
OKLCHoklch(34.37% 0.154 291.3)
XYZxyz(6.3211, 3.4611, 20.7529)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1D80 #5F801D
analogous
#1D2D80 #3E1D80 #6F1D80
triadic
#3E1D80 #803E1D #1D803E
tetradic
#3E1D80 #801D2D #5F801D #1D806F
square
#3E1D80 #801D2D #5F801D #1D806F
split-complementary
#3E1D80 #806F1D #2D801D
monochromatic
#0E061C #26124E #3E1D80 #5628B2 #7343D4

Accessibility & contrast

On white

12.41
#3E1D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#3E1D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1D80
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1D80#FFFFFF#000000##FFFFFF
##3E1D801.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#00327E
Tritanopia (blue-blind)
#28384D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3e1d80;
/* rgb */ color: rgb(62, 29, 128);
/* oklch */ color: oklch(34.4% 0.154 291.3);
Tailwind
colors: {
  custom: {
    50: '#7b5da6',
    500: '#3e1d80',
    950: '#000000',
  },
}
SCSS
$custom: #3e1d80;
$custom-light: #7b5da6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1d80",
  "rgb": {
    "r": 62,
    "g": 29,
    "b": 128
  },
  "hsl": {
    "h": 260,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34367,
    "c": 0.15384,
    "h": 291.3
  },
  "luminance": 0.03461
}

Semantic roles & 50–950 ramp

primary
#3E1D80
secondary
#8FB345
accent
#E642AF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3E1D80

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

Preview Lab → · Contrast checker → · Palette generator →

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