#3E2B95#3E2B95

#3E2B95 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.3% C 0.164 H 283.7°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#3E2B95
RGBrgb(62, 43, 149)
HSLhsl(251, 55%, 38%)
HSVhsv(251, 71%, 58%)
CMYKcmyk(58.4%, 71.1%, 0%, 41.6%)
CIE-LABlab(26.51, 38.36, -55.30)
CIE-LCHlch(26.51, 67.30, 304.75°)
OKLaboklab(38.31% 0.0388 -0.1592)
OKLCHoklch(38.31% 0.164 283.7)
XYZxyz(8.2736, 4.9213, 28.9419)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2B95 #82952B
analogous
#2B4D95 #3E2B95 #732B95
triadic
#3E2B95 #953E2B #2B953E
tetradic
#3E2B95 #952B4D #82952B #2B9573
square
#3E2B95 #952B4D #82952B #2B9573
split-complementary
#3E2B95 #95732B #4D952B
monochromatic
#161036 #2A1D66 #3E2B95 #5239C4 #7B67D3

Accessibility & contrast

On white

10.58
#3E2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E2B95
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2B95#FFFFFF#000000##FFFFFF
##3E2B951.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#0F475D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3e2b95;
/* rgb */ color: rgb(62, 43, 149);
/* oklch */ color: oklch(38.3% 0.164 283.7);
Tailwind
colors: {
  custom: {
    50: '#7d66b5',
    500: '#3e2b95',
    950: '#000000',
  },
}
SCSS
$custom: #3e2b95;
$custom-light: #7d66b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2b95",
  "rgb": {
    "r": 62,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 250.755,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38308,
    "c": 0.16385,
    "h": 283.7
  },
  "luminance": 0.04922
}

Semantic roles & 50–950 ramp

primary
#3E2B95
secondary
#AABA62
accent
#DF49C4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3E2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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