#3E2B8D#3E2B8D

#3E2B8D is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.6% C 0.154 H 285.2°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#3E2B8D
RGBrgb(62, 43, 141)
HSLhsl(252, 53%, 36%)
HSVhsv(252, 70%, 55%)
CMYKcmyk(56%, 69.5%, 0%, 44.7%)
CIE-LABlab(25.79, 35.83, -51.54)
CIE-LCHlch(25.79, 62.77, 304.80°)
OKLaboklab(37.57% 0.0402 -0.1482)
OKLCHoklch(37.57% 0.154 285.2)
XYZxyz(7.6568, 4.6745, 25.6930)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2B8D #7A8D2B
analogous
#2B498D #3E2B8D #6F2B8D
triadic
#3E2B8D #8D3E2B #2B8D3E
tetradic
#3E2B8D #8D2B49 #7A8D2B #2B8D6F
square
#3E2B8D #8D2B49 #7A8D2B #2B8D6F
split-complementary
#3E2B8D #8D6F2B #498D2B
monochromatic
#150E2F #291D5E #3E2B8D #5339BC #7863CF

Accessibility & contrast

On white

10.85
#3E2B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3E2B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2B8D
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2B8D#FFFFFF#000000##FFFFFF
##3E2B8D1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#1B4458
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3e2b8d;
/* rgb */ color: rgb(62, 43, 141);
/* oklch */ color: oklch(37.6% 0.154 285.2);
Tailwind
colors: {
  custom: {
    50: '#7c66af',
    500: '#3e2b8d',
    950: '#000000',
  },
}
SCSS
$custom: #3e2b8d;
$custom-light: #7c66af;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2b8d",
  "rgb": {
    "r": 62,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 251.633,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37567,
    "c": 0.15352,
    "h": 285.2
  },
  "luminance": 0.04675
}

Semantic roles & 50–950 ramp

primary
#3E2B8D
secondary
#A5B65E
accent
#DD4BC0
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3E2B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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