#3E2B9A#3E2B9A

#3E2B9A is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.8% C 0.170 H 282.9°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#3E2B9A
RGBrgb(62, 43, 154)
HSLhsl(250, 56%, 39%)
HSVhsv(250, 72%, 60%)
CMYKcmyk(59.7%, 72.1%, 0%, 39.6%)
CIE-LABlab(26.97, 39.94, -57.61)
CIE-LCHlch(26.97, 70.10, 304.74°)
OKLaboklab(38.78% 0.0379 -0.1659)
OKLCHoklch(38.78% 0.17 282.9)
XYZxyz(8.6814, 5.0844, 31.0895)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2B9A #879A2B
analogous
#2B4F9A #3E2B9A #752B9A
triadic
#3E2B9A #9A3E2B #2B9A3E
tetradic
#3E2B9A #9A2B4F #879A2B #2B9A75
square
#3E2B9A #9A2B4F #879A2B #2B9A75
split-complementary
#3E2B9A #9A752B #4F9A2B
monochromatic
#17103A #2B1E6A #3E2B9A #523AC8 #7C6AD5

Accessibility & contrast

On white

10.41
#3E2B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3E2B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2B9A
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2B9A#FFFFFF#000000##FFFFFF
##3E2B9A1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003C98
Tritanopia (blue-blind)
#03495F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3e2b9a;
/* rgb */ color: rgb(62, 43, 154);
/* oklch */ color: oklch(38.8% 0.170 282.9);
Tailwind
colors: {
  custom: {
    50: '#7e66b9',
    500: '#3e2b9a',
    950: '#000000',
  },
}
SCSS
$custom: #3e2b9a;
$custom-light: #7e66b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2b9a",
  "rgb": {
    "r": 62,
    "g": 43,
    "b": 154
  },
  "hsl": {
    "h": 250.27,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38782,
    "c": 0.17021,
    "h": 282.9
  },
  "luminance": 0.05085
}

Semantic roles & 50–950 ramp

primary
#3E2B9A
secondary
#ADBC65
accent
#E048C6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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