#3E2C92#3E2C92

#3E2C92 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.159 H 284.0°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#3E2C92
RGBrgb(62, 44, 146)
HSLhsl(251, 54%, 37%)
HSVhsv(251, 70%, 57%)
CMYKcmyk(57.5%, 69.9%, 0%, 42.7%)
CIE-LABlab(26.45, 36.83, -53.55)
CIE-LCHlch(26.45, 64.99, 304.52°)
OKLaboklab(38.18% 0.0385 -0.1541)
OKLCHoklch(38.18% 0.159 284)
XYZxyz(8.0740, 4.9003, 27.7090)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2C92 #80922C
analogous
#2C4D92 #3E2C92 #712C92
triadic
#3E2C92 #923E2C #2C923E
tetradic
#3E2C92 #922C4D #80922C #2C9271
square
#3E2C92 #922C4D #80922C #2C9271
split-complementary
#3E2C92 #92712C #4D922C
monochromatic
#161034 #2A1E63 #3E2C92 #523AC1 #7A67D1

Accessibility & contrast

On white

10.60
#3E2C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E2C92
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2C92#FFFFFF#000000##FFFFFF
##3E2C921.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#14465B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3e2c92;
/* rgb */ color: rgb(62, 44, 146);
/* oklch */ color: oklch(38.2% 0.159 284.0);
Tailwind
colors: {
  custom: {
    50: '#7d67b3',
    500: '#3e2c92',
    950: '#000000',
  },
}
SCSS
$custom: #3e2c92;
$custom-light: #7d67b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2c92",
  "rgb": {
    "r": 62,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 250.588,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38181,
    "c": 0.15879,
    "h": 284
  },
  "luminance": 0.04901
}

Semantic roles & 50–950 ramp

primary
#3E2C92
secondary
#A9B862
accent
#DD4BC3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3E2C92

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

Preview Lab → · Contrast checker → · Palette generator →

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