#3E2B84#3E2B84

#3E2B84 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.8% C 0.142 H 287.0°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#3E2B84
RGBrgb(62, 43, 132)
HSLhsl(253, 51%, 34%)
HSVhsv(253, 67%, 52%)
CMYKcmyk(53%, 67.4%, 0%, 48.2%)
CIE-LABlab(25.01, 32.97, -47.20)
CIE-LCHlch(25.01, 57.58, 304.93°)
OKLaboklab(36.76% 0.0415 -0.1354)
OKLCHoklch(36.76% 0.142 287)
XYZxyz(7.0141, 4.4175, 22.3084)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2B84 #71842B
analogous
#2B4584 #3E2B84 #6B2B84
triadic
#3E2B84 #843E2B #2B843E
tetradic
#3E2B84 #842B45 #71842B #2B846B
square
#3E2B84 #842B45 #71842B #2B846B
split-complementary
#3E2B84 #846B2B #45842B
monochromatic
#130D28 #281C56 #3E2B84 #543AB2 #765FCB

Accessibility & contrast

On white

11.15
#3E2B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3E2B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2B84
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2B84#FFFFFF#000000##FFFFFF
##3E2B841.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#244153
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3e2b84;
/* rgb */ color: rgb(62, 43, 132);
/* oklch */ color: oklch(36.8% 0.142 287.0);
Tailwind
colors: {
  custom: {
    50: '#7a65a9',
    500: '#3e2b84',
    950: '#000000',
  },
}
SCSS
$custom: #3e2b84;
$custom-light: #7a65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2b84",
  "rgb": {
    "r": 62,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 252.809,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36762,
    "c": 0.14164,
    "h": 287
  },
  "luminance": 0.04418
}

Semantic roles & 50–950 ramp

primary
#3E2B84
secondary
#9EB15A
accent
#DA4DBC
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3E2B84

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

Preview Lab → · Contrast checker → · Palette generator →

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