#3E1F83#3E1F83

#3E1F83 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.155 H 290.1°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#3E1F83
RGBrgb(62, 31, 131)
HSLhsl(259, 62%, 32%)
HSVhsv(259, 76%, 51%)
CMYKcmyk(52.7%, 76.3%, 0%, 48.6%)
CIE-LABlab(22.45, 39.48, -50.75)
CIE-LCHlch(22.45, 64.30, 307.88°)
OKLaboklab(34.91% 0.0533 -0.1458)
OKLCHoklch(34.91% 0.155 290.1)
XYZxyz(6.5721, 3.6425, 21.8251)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1F83 #64831F
analogous
#1F3283 #3E1F83 #701F83
triadic
#3E1F83 #833E1F #1F833E
tetradic
#3E1F83 #831F32 #64831F #1F8370
square
#3E1F83 #831F32 #64831F #1F8370
split-complementary
#3E1F83 #83701F #32831F
monochromatic
#0F0820 #271352 #3E1F83 #552BB4 #7449D4

Accessibility & contrast

On white

12.15
#3E1F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3E1F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1F83
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1F83#FFFFFF#000000##FFFFFF
##3E1F831.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#253A4F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3e1f83;
/* rgb */ color: rgb(62, 31, 131);
/* oklch */ color: oklch(34.9% 0.155 290.1);
Tailwind
colors: {
  custom: {
    50: '#7b5ea8',
    500: '#3e1f83',
    950: '#000000',
  },
}
SCSS
$custom: #3e1f83;
$custom-light: #7b5ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1f83",
  "rgb": {
    "r": 62,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 258.6,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34911,
    "c": 0.15523,
    "h": 290.1
  },
  "luminance": 0.03643
}

Semantic roles & 50–950 ramp

primary
#3E1F83
secondary
#94B648
accent
#E543B3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3E1F83

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

Preview Lab → · Contrast checker → · Palette generator →

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