#3E2D93#3E2D93

#3E2D93 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.4% C 0.159 H 283.6°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#3E2D93
RGBrgb(62, 45, 147)
HSLhsl(250, 53%, 38%)
HSVhsv(250, 69%, 58%)
CMYKcmyk(57.8%, 69.4%, 0%, 42.4%)
CIE-LABlab(26.75, 36.55, -53.67)
CIE-LCHlch(26.75, 64.94, 304.26°)
OKLaboklab(38.43% 0.0374 -0.1544)
OKLCHoklch(38.43% 0.159 283.6)
XYZxyz(8.1898, 5.0070, 28.1330)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2D93 #82932D
analogous
#2D4F93 #3E2D93 #712D93
triadic
#3E2D93 #933E2D #2D933E
tetradic
#3E2D93 #932D4F #82932D #2D9371
square
#3E2D93 #932D4F #82932D #2D9371
split-complementary
#3E2D93 #93712D #4F932D
monochromatic
#161035 #2A1F64 #3E2D93 #523BC2 #7B69D1

Accessibility & contrast

On white

10.49
#3E2D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3E2D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2D93
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2D93#FFFFFF#000000##FFFFFF
##3E2D931.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#003C91
Tritanopia (blue-blind)
#13475C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3e2d93;
/* rgb */ color: rgb(62, 45, 147);
/* oklch */ color: oklch(38.4% 0.159 283.6);
Tailwind
colors: {
  custom: {
    50: '#7d67b4',
    500: '#3e2d93',
    950: '#000000',
  },
}
SCSS
$custom: #3e2d93;
$custom-light: #7d67b4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2d93",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 250,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38428,
    "c": 0.15887,
    "h": 283.6
  },
  "luminance": 0.05007
}

Semantic roles & 50–950 ramp

primary
#3E2D93
secondary
#AAB864
accent
#DD4BC4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3E2D93

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

Preview Lab → · Contrast checker → · Palette generator →

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