#3E2386#3E2386

#3E2386 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.154 H 288.5°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#3E2386
RGBrgb(62, 35, 134)
HSLhsl(256, 59%, 33%)
HSVhsv(256, 74%, 53%)
CMYKcmyk(53.7%, 73.9%, 0%, 47.5%)
CIE-LABlab(23.50, 38.23, -50.93)
CIE-LCHlch(23.50, 63.68, 306.90°)
OKLaboklab(35.74% 0.049 -0.1463)
OKLCHoklch(35.74% 0.154 288.5)
XYZxyz(6.8895, 3.9471, 22.9485)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2386 #6B8623
analogous
#233986 #3E2386 #6F2386
triadic
#3E2386 #863E23 #23863E
tetradic
#3E2386 #862339 #6B8623 #23866F
square
#3E2386 #862339 #6B8623 #23866F
split-complementary
#3E2386 #866F23 #398623
monochromatic
#110A25 #281655 #3E2386 #5430B7 #7552D2

Accessibility & contrast

On white

11.74
#3E2386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#3E2386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2386
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2386#FFFFFF#000000##FFFFFF
##3E23861.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#233D52
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3e2386;
/* rgb */ color: rgb(62, 35, 134);
/* oklch */ color: oklch(35.7% 0.154 288.5);
Tailwind
colors: {
  custom: {
    50: '#7b61aa',
    500: '#3e2386',
    950: '#000000',
  },
}
SCSS
$custom: #3e2386;
$custom-light: #7b61aa;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2386",
  "rgb": {
    "r": 62,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 256.364,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35736,
    "c": 0.15432,
    "h": 288.5
  },
  "luminance": 0.03947
}

Semantic roles & 50–950 ramp

primary
#3E2386
secondary
#9AB54F
accent
#E246B7
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3E2386

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

Preview Lab → · Contrast checker → · Palette generator →

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