#3E2C97#3E2C97

#3E2C97 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.6% C 0.165 H 283.2°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#3E2C97
RGBrgb(62, 44, 151)
HSLhsl(250, 55%, 38%)
HSVhsv(250, 71%, 59%)
CMYKcmyk(58.9%, 70.9%, 0%, 40.8%)
CIE-LABlab(26.90, 38.42, -55.88)
CIE-LCHlch(26.90, 67.82, 304.51°)
OKLaboklab(38.65% 0.0376 -0.1609)
OKLCHoklch(38.65% 0.165 283.2)
XYZxyz(8.4715, 5.0593, 29.8023)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2C97 #85972C
analogous
#2C5097 #3E2C97 #732C97
triadic
#3E2C97 #973E2C #2C973E
tetradic
#3E2C97 #972C50 #85972C #2C9773
square
#3E2C97 #972C50 #85972C #2C9773
split-complementary
#3E2C97 #97732C #50972C
monochromatic
#171038 #2B1E68 #3E2C97 #523AC6 #7C6AD4

Accessibility & contrast

On white

10.44
#3E2C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3E2C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2C97
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2C97#FFFFFF#000000##FFFFFF
##3E2C971.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#0B485E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3e2c97;
/* rgb */ color: rgb(62, 44, 151);
/* oklch */ color: oklch(38.6% 0.165 283.2);
Tailwind
colors: {
  custom: {
    50: '#7e67b7',
    500: '#3e2c97',
    950: '#000000',
  },
}
SCSS
$custom: #3e2c97;
$custom-light: #7e67b7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2c97",
  "rgb": {
    "r": 62,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 250.093,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38646,
    "c": 0.16524,
    "h": 283.2
  },
  "luminance": 0.0506
}

Semantic roles & 50–950 ramp

primary
#3E2C97
secondary
#ACBA65
accent
#DE4AC5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3E2C97

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

Preview Lab → · Contrast checker → · Palette generator →

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