#3E2D8D#3E2D8D

#3E2D8D is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.9% C 0.151 H 284.7°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#3E2D8D
RGBrgb(62, 45, 141)
HSLhsl(251, 52%, 36%)
HSVhsv(251, 68%, 55%)
CMYKcmyk(56%, 68.1%, 0%, 44.7%)
CIE-LABlab(26.23, 34.63, -50.83)
CIE-LCHlch(26.23, 61.50, 304.27°)
OKLaboklab(37.88% 0.0383 -0.1461)
OKLCHoklch(37.88% 0.151 284.7)
XYZxyz(7.7313, 4.8236, 25.7178)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2D8D #7C8D2D
analogous
#2D4C8D #3E2D8D #6E2D8D
triadic
#3E2D8D #8D3E2D #2D8D3E
tetradic
#3E2D8D #8D2D4C #7C8D2D #2D8D6E
square
#3E2D8D #8D2D4C #7C8D2D #2D8D6E
split-complementary
#3E2D8D #8D6E2D #4C8D2D
monochromatic
#150F30 #2A1E5F #3E2D8D #523CBB #7966CE

Accessibility & contrast

On white

10.69
#3E2D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3E2D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2D8D
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2D8D#FFFFFF#000000##FFFFFF
##3E2D8D1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#1B4559
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e2d8d;
/* rgb */ color: rgb(62, 45, 141);
/* oklch */ color: oklch(37.9% 0.151 284.7);
Tailwind
colors: {
  custom: {
    50: '#7c67af',
    500: '#3e2d8d',
    950: '#000000',
  },
}
SCSS
$custom: #3e2d8d;
$custom-light: #7c67af;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2d8d",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 250.625,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37884,
    "c": 0.151,
    "h": 284.7
  },
  "luminance": 0.04824
}

Semantic roles & 50–950 ramp

primary
#3E2D8D
secondary
#A6B561
accent
#DB4DC2
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3E2D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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