#3E2B9D#3E2B9D

#3E2B9D is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.1% C 0.174 H 282.4°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#3E2B9D
RGBrgb(62, 43, 157)
HSLhsl(250, 57%, 39%)
HSVhsv(250, 73%, 62%)
CMYKcmyk(60.5%, 72.6%, 0%, 38.4%)
CIE-LABlab(27.26, 40.89, -58.97)
CIE-LCHlch(27.26, 71.76, 304.74°)
OKLaboklab(39.07% 0.0373 -0.1699)
OKLCHoklch(39.07% 0.174 282.4)
XYZxyz(8.9344, 5.1856, 32.4219)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2B9D #8A9D2B
analogous
#2B519D #3E2B9D #772B9D
triadic
#3E2B9D #9D3E2B #2B9D3E
tetradic
#3E2B9D #9D2B51 #8A9D2B #2B9D77
square
#3E2B9D #9D2B51 #8A9D2B #2B9D77
split-complementary
#3E2B9D #9D772B #519D2B
monochromatic
#18113D #2B1E6D #3E2B9D #533CCA #7E6CD7

Accessibility & contrast

On white

10.31
#3E2B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3E2B9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2B9D
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2B9D#FFFFFF#000000##FFFFFF
##3E2B9D1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3e2b9d;
/* rgb */ color: rgb(62, 43, 157);
/* oklch */ color: oklch(39.1% 0.174 282.4);
Tailwind
colors: {
  custom: {
    50: '#7f66bb',
    500: '#3e2b9d',
    950: '#000000',
  },
}
SCSS
$custom: #3e2b9d;
$custom-light: #7f66bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2b9d",
  "rgb": {
    "r": 62,
    "g": 43,
    "b": 157
  },
  "hsl": {
    "h": 250,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.3907,
    "c": 0.17398,
    "h": 282.4
  },
  "luminance": 0.05186
}

Semantic roles & 50–950 ramp

primary
#3E2B9D
secondary
#AFBD66
accent
#E048C7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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