#3E2089#3E2089

#3E2089 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.161 H 288.4°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#3E2089
RGBrgb(62, 32, 137)
HSLhsl(257, 62%, 33%)
HSVhsv(257, 77%, 54%)
CMYKcmyk(54.7%, 76.6%, 0%, 46.3%)
CIE-LABlab(23.21, 40.73, -53.27)
CIE-LCHlch(23.21, 67.06, 307.40°)
OKLaboklab(35.62% 0.0509 -0.1532)
OKLCHoklch(35.62% 0.161 288.4)
XYZxyz(7.0171, 3.8630, 24.0379)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2089 #6B8920
analogous
#203689 #3E2089 #722089
triadic
#3E2089 #893E20 #20893E
tetradic
#3E2089 #892036 #6B8920 #208972
square
#3E2089 #892036 #6B8920 #208972
split-complementary
#3E2089 #897220 #368920
monochromatic
#110926 #281457 #3E2089 #542CBB #754ED6

Accessibility & contrast

On white

11.85
#3E2089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3E2089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2089
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2089#FFFFFF#000000##FFFFFF
##3E20891.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#203D53
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3e2089;
/* rgb */ color: rgb(62, 32, 137);
/* oklch */ color: oklch(35.6% 0.161 288.4);
Tailwind
colors: {
  custom: {
    50: '#7c5fac',
    500: '#3e2089',
    950: '#000000',
  },
}
SCSS
$custom: #3e2089;
$custom-light: #7c5fac;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2089",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 257.143,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35623,
    "c": 0.1614,
    "h": 288.4
  },
  "luminance": 0.03863
}

Semantic roles & 50–950 ramp

primary
#3E2089
secondary
#9AB94C
accent
#E543B7
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3E2089

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

Preview Lab → · Contrast checker → · Palette generator →

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