#3E1E80#3E1E80

#3E1E80 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.153 H 291.1°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#3E1E80
RGBrgb(62, 30, 128)
HSLhsl(260, 62%, 31%)
HSVhsv(260, 77%, 50%)
CMYKcmyk(51.6%, 76.6%, 0%, 49.8%)
CIE-LABlab(21.98, 39.12, -49.62)
CIE-LCHlch(21.98, 63.19, 308.25°)
OKLaboklab(34.49% 0.055 -0.1425)
OKLCHoklch(34.49% 0.153 291.1)
XYZxyz(6.3461, 3.5109, 20.7612)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1E80 #60801E
analogous
#1E2F80 #3E1E80 #6F1E80
triadic
#3E1E80 #803E1E #1E803E
tetradic
#3E1E80 #801E2F #60801E #1E806F
square
#3E1E80 #801E2F #60801E #1E806F
split-complementary
#3E1E80 #806F1E #2F801E
monochromatic
#0E071D #26124E #3E1E80 #562AB2 #7345D3

Accessibility & contrast

On white

12.34
#3E1E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#3E1E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1E80
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1E80#FFFFFF#000000##FFFFFF
##3E1E801.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e1e80;
/* rgb */ color: rgb(62, 30, 128);
/* oklch */ color: oklch(34.5% 0.153 291.1);
Tailwind
colors: {
  custom: {
    50: '#7b5da6',
    500: '#3e1e80',
    950: '#000000',
  },
}
SCSS
$custom: #3e1e80;
$custom-light: #7b5da6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1e80",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 128
  },
  "hsl": {
    "h": 259.592,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34494,
    "c": 0.15272,
    "h": 291.1
  },
  "luminance": 0.03511
}

Semantic roles & 50–950 ramp

primary
#3E1E80
secondary
#90B347
accent
#E543B0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3E1E80

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

Preview Lab → · Contrast checker → · Palette generator →

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