#3E2391#3E2391

#3E2391 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.168 H 286.0°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#3E2391
RGBrgb(62, 35, 145)
HSLhsl(255, 61%, 35%)
HSVhsv(255, 76%, 57%)
CMYKcmyk(57.2%, 75.9%, 0%, 43.1%)
CIE-LABlab(24.55, 41.56, -56.06)
CIE-LCHlch(24.55, 69.78, 306.55°)
OKLaboklab(36.8% 0.0464 -0.1614)
OKLCHoklch(36.8% 0.168 286)
XYZxyz(7.6969, 4.2701, 27.2012)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2391 #769123
analogous
#233F91 #3E2391 #752391
triadic
#3E2391 #913E23 #23913E
tetradic
#3E2391 #91233F #769123 #239175
square
#3E2391 #91233F #769123 #239175
split-complementary
#3E2391 #917523 #3F9123
monochromatic
#140B2E #291760 #3E2391 #532FC2 #7758D7

Accessibility & contrast

On white

11.33
#3E2391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#3E2391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2391
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2391#FFFFFF#000000##FFFFFF
##3E23911.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D94
Deuteranopia (green-blind)
#00378F
Tritanopia (blue-blind)
#174158
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3e2391;
/* rgb */ color: rgb(62, 35, 145);
/* oklch */ color: oklch(36.8% 0.168 286.0);
Tailwind
colors: {
  custom: {
    50: '#7d61b2',
    500: '#3e2391',
    950: '#000000',
  },
}
SCSS
$custom: #3e2391;
$custom-light: #7d61b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2391",
  "rgb": {
    "r": 62,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 254.727,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36798,
    "c": 0.16788,
    "h": 286
  },
  "luminance": 0.04271
}

Semantic roles & 50–950 ramp

primary
#3E2391
secondary
#A2BB55
accent
#E444BD
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3E2391

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

Preview Lab → · Contrast checker → · Palette generator →

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