#3E2D7C#3E2D7C

#3E2D7C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.4% C 0.128 H 288.3°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#3E2D7C
RGBrgb(62, 45, 124)
HSLhsl(253, 47%, 33%)
HSVhsv(253, 64%, 49%)
CMYKcmyk(50%, 63.7%, 0%, 51.4%)
CIE-LABlab(24.81, 29.19, -42.48)
CIE-LCHlch(24.81, 51.54, 304.50°)
OKLaboklab(36.42% 0.0401 -0.1215)
OKLCHoklch(36.42% 0.128 288.3)
XYZxyz(6.5620, 4.3559, 19.5599)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2D7C #6B7C2D
analogous
#2D437C #3E2D7C #652D7C
triadic
#3E2D7C #7C3E2D #2D7C3E
tetradic
#3E2D7C #7C2D43 #6B7C2D #2D7C65
square
#3E2D7C #7C2D43 #6B7C2D #2D7C65
split-complementary
#3E2D7C #7C652D #437C2D
monochromatic
#110C22 #281D4F #3E2D7C #543DA9 #755FC5

Accessibility & contrast

On white

11.22
#3E2D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E2D7C
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2D7C#FFFFFF#000000##FFFFFF
##3E2D7C1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#293F50
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3e2d7c;
/* rgb */ color: rgb(62, 45, 124);
/* oklch */ color: oklch(36.4% 0.128 288.3);
Tailwind
colors: {
  custom: {
    50: '#7967a3',
    500: '#3e2d7c',
    950: '#000000',
  },
}
SCSS
$custom: #3e2d7c;
$custom-light: #7967a3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2d7c",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 124
  },
  "hsl": {
    "h": 252.911,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36418,
    "c": 0.12797,
    "h": 288.3
  },
  "luminance": 0.04356
}

Semantic roles & 50–950 ramp

primary
#3E2D7C
secondary
#9AAB5A
accent
#D651BA
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #3E2D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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