#3E2091#3E2091

#3E2091 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.171 H 286.5°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#3E2091
RGBrgb(62, 32, 145)
HSLhsl(256, 64%, 35%)
HSVhsv(256, 78%, 57%)
CMYKcmyk(57.2%, 77.9%, 0%, 43.1%)
CIE-LABlab(24.00, 43.10, -56.95)
CIE-LCHlch(24.00, 71.42, 307.12°)
OKLaboklab(36.42% 0.0487 -0.1639)
OKLCHoklch(36.42% 0.171 286.5)
XYZxyz(7.6124, 4.1011, 27.1730)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2091 #739120
analogous
#203B91 #3E2091 #772091
triadic
#3E2091 #913E20 #20913E
tetradic
#3E2091 #91203B #739120 #209177
square
#3E2091 #91203B #739120 #209177
split-complementary
#3E2091 #917720 #3B9120
monochromatic
#130A2D #29155F #3E2091 #532BC3 #7652D9

Accessibility & contrast

On white

11.54
#3E2091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#3E2091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2091
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2091#FFFFFF#000000##FFFFFF
##3E20911.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00368F
Tritanopia (blue-blind)
#174057
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3e2091;
/* rgb */ color: rgb(62, 32, 145);
/* oklch */ color: oklch(36.4% 0.171 286.5);
Tailwind
colors: {
  custom: {
    50: '#7d5fb2',
    500: '#3e2091',
    950: '#000000',
  },
}
SCSS
$custom: #3e2091;
$custom-light: #7d5fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2091",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 255.929,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36417,
    "c": 0.17101,
    "h": 286.5
  },
  "luminance": 0.04101
}

Semantic roles & 50–950 ramp

primary
#3E2091
secondary
#A0BC51
accent
#E741BB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3E2091

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

Preview Lab → · Contrast checker → · Palette generator →

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