#3E2D8F#3E2D8F

#3E2D8F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.1% C 0.154 H 284.3°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#3E2D8F
RGBrgb(62, 45, 143)
HSLhsl(250, 52%, 37%)
HSVhsv(250, 69%, 56%)
CMYKcmyk(56.6%, 68.5%, 0%, 43.9%)
CIE-LABlab(26.40, 35.27, -51.78)
CIE-LCHlch(26.40, 62.65, 304.26°)
OKLaboklab(38.06% 0.038 -0.1489)
OKLCHoklch(38.06% 0.154 284.3)
XYZxyz(7.8814, 4.8836, 26.5086)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2D8F #7E8F2D
analogous
#2D4D8F #3E2D8F #6F2D8F
triadic
#3E2D8F #8F3E2D #2D8F3E
tetradic
#3E2D8F #8F2D4D #7E8F2D #2D8F6F
square
#3E2D8F #8F2D4D #7E8F2D #2D8F6F
split-complementary
#3E2D8F #8F6F2D #4D8F2D
monochromatic
#161032 #2A1E60 #3E2D8F #523CBE #7967CF

Accessibility & contrast

On white

10.62
#3E2D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3E2D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2D8F
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2D8F#FFFFFF#000000##FFFFFF
##3E2D8F1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#18465A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e2d8f;
/* rgb */ color: rgb(62, 45, 143);
/* oklch */ color: oklch(38.1% 0.154 284.3);
Tailwind
colors: {
  custom: {
    50: '#7c67b1',
    500: '#3e2d8f',
    950: '#000000',
  },
}
SCSS
$custom: #3e2d8f;
$custom-light: #7c67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2d8f",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 250.408,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38064,
    "c": 0.15364,
    "h": 284.3
  },
  "luminance": 0.04884
}

Semantic roles & 50–950 ramp

primary
#3E2D8F
secondary
#A7B662
accent
#DC4CC3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3E2D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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