#3E2C7D#3E2C7D

#3E2C7D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.3% C 0.131 H 288.3°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#3E2C7D
RGBrgb(62, 44, 125)
HSLhsl(253, 48%, 33%)
HSVhsv(253, 65%, 49%)
CMYKcmyk(50.4%, 64.8%, 0%, 51%)
CIE-LABlab(24.66, 30.14, -43.37)
CIE-LCHlch(24.66, 52.81, 304.80°)
OKLaboklab(36.33% 0.0412 -0.1241)
OKLCHoklch(36.33% 0.131 288.3)
XYZxyz(6.5879, 4.3059, 19.8821)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2C7D #6B7D2C
analogous
#2C427D #3E2C7D #662C7D
triadic
#3E2C7D #7D3E2C #2C7D3E
tetradic
#3E2C7D #7D2C42 #6B7D2C #2C7D66
square
#3E2C7D #7D2C42 #6B7D2C #2C7D66
split-complementary
#3E2C7D #7D662C #427D2C
monochromatic
#110C22 #281C50 #3E2C7D #543CAA #755DC6

Accessibility & contrast

On white

11.28
#3E2C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3E2C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2C7D
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2C7D#FFFFFF#000000##FFFFFF
##3E2C7D1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#293F50
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3e2c7d;
/* rgb */ color: rgb(62, 44, 125);
/* oklch */ color: oklch(36.3% 0.131 288.3);
Tailwind
colors: {
  custom: {
    50: '#7966a3',
    500: '#3e2c7d',
    950: '#000000',
  },
}
SCSS
$custom: #3e2c7d;
$custom-light: #7966a3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2c7d",
  "rgb": {
    "r": 62,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 253.333,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36329,
    "c": 0.13079,
    "h": 288.3
  },
  "luminance": 0.04306
}

Semantic roles & 50–950 ramp

primary
#3E2C7D
secondary
#9AAC59
accent
#D850B9
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #3E2C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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