#3E2B82#3E2B82

#3E2B82 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.6% C 0.139 H 287.5°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#3E2B82
RGBrgb(62, 43, 130)
HSLhsl(253, 50%, 34%)
HSVhsv(253, 67%, 51%)
CMYKcmyk(52.3%, 66.9%, 0%, 49%)
CIE-LABlab(24.84, 32.34, -46.22)
CIE-LCHlch(24.84, 56.41, 304.98°)
OKLaboklab(36.59% 0.0418 -0.1325)
OKLCHoklch(36.59% 0.139 287.5)
XYZxyz(6.8786, 4.3633, 21.5945)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2B82 #6F822B
analogous
#2B4482 #3E2B82 #6A2B82
triadic
#3E2B82 #823E2B #2B823E
tetradic
#3E2B82 #822B44 #6F822B #2B826A
square
#3E2B82 #822B44 #6F822B #2B826A
split-complementary
#3E2B82 #826A2B #44822B
monochromatic
#120D26 #281C54 #3E2B82 #543AB0 #755ECA

Accessibility & contrast

On white

11.21
#3E2B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3E2B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2B82
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2B82#FFFFFF#000000##FFFFFF
##3E2B821.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#003980
Tritanopia (blue-blind)
#254052
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3e2b82;
/* rgb */ color: rgb(62, 43, 130);
/* oklch */ color: oklch(36.6% 0.139 287.5);
Tailwind
colors: {
  custom: {
    50: '#7a65a7',
    500: '#3e2b82',
    950: '#000000',
  },
}
SCSS
$custom: #3e2b82;
$custom-light: #7a65a7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2b82",
  "rgb": {
    "r": 62,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 253.103,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36588,
    "c": 0.13897,
    "h": 287.5
  },
  "luminance": 0.04364
}

Semantic roles & 50–950 ramp

primary
#3E2B82
secondary
#9DB059
accent
#DA4EBB
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #3E2B82

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

Preview Lab → · Contrast checker → · Palette generator →

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