#3E2B89#3E2B89

#3E2B89 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.2% C 0.148 H 286.0°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#3E2B89
RGBrgb(62, 43, 137)
HSLhsl(252, 52%, 35%)
HSVhsv(252, 69%, 54%)
CMYKcmyk(54.7%, 68.6%, 0%, 46.3%)
CIE-LABlab(25.44, 34.56, -49.63)
CIE-LCHlch(25.44, 60.48, 304.85°)
OKLaboklab(37.21% 0.0408 -0.1425)
OKLCHoklch(37.21% 0.148 286)
XYZxyz(7.3645, 4.5576, 24.1537)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2B89 #76892B
analogous
#2B4789 #3E2B89 #6D2B89
triadic
#3E2B89 #893E2B #2B893E
tetradic
#3E2B89 #892B47 #76892B #2B896D
square
#3E2B89 #892B47 #76892B #2B896D
split-complementary
#3E2B89 #896D2B #47892B
monochromatic
#140E2C #291C5A #3E2B89 #533AB8 #7761CD

Accessibility & contrast

On white

10.99
#3E2B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3E2B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2B89
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2B89#FFFFFF#000000##FFFFFF
##3E2B891.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#1F4356
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3e2b89;
/* rgb */ color: rgb(62, 43, 137);
/* oklch */ color: oklch(37.2% 0.148 286.0);
Tailwind
colors: {
  custom: {
    50: '#7b66ac',
    500: '#3e2b89',
    950: '#000000',
  },
}
SCSS
$custom: #3e2b89;
$custom-light: #7b66ac;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2b89",
  "rgb": {
    "r": 62,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 252.128,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37206,
    "c": 0.14828,
    "h": 286
  },
  "luminance": 0.04558
}

Semantic roles & 50–950 ramp

primary
#3E2B89
secondary
#A2B35C
accent
#DC4CBF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3E2B89

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

Preview Lab → · Contrast checker → · Palette generator →

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