#3E2D86#3E2D86

#3E2D86 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.3% C 0.142 H 286.1°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#3E2D86
RGBrgb(62, 45, 134)
HSLhsl(251, 50%, 35%)
HSVhsv(251, 66%, 53%)
CMYKcmyk(53.7%, 66.4%, 0%, 47.5%)
CIE-LABlab(25.63, 32.39, -47.44)
CIE-LCHlch(25.63, 57.44, 304.32°)
OKLaboklab(37.27% 0.0392 -0.1361)
OKLCHoklch(37.27% 0.142 286.1)
XYZxyz(7.2268, 4.6218, 23.0609)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2D86 #75862D
analogous
#2D4886 #3E2D86 #6B2D86
triadic
#3E2D86 #863E2D #2D863E
tetradic
#3E2D86 #862D48 #75862D #2D866B
square
#3E2D86 #862D48 #75862D #2D866B
split-complementary
#3E2D86 #866B2D #48862D
monochromatic
#140E2A #291E58 #3E2D86 #533CB4 #7763CB

Accessibility & contrast

On white

10.91
#3E2D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3E2D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2D86
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2D86#FFFFFF#000000##FFFFFF
##3E2D861.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#224355
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3e2d86;
/* rgb */ color: rgb(62, 45, 134);
/* oklch */ color: oklch(37.3% 0.142 286.1);
Tailwind
colors: {
  custom: {
    50: '#7a67aa',
    500: '#3e2d86',
    950: '#000000',
  },
}
SCSS
$custom: #3e2d86;
$custom-light: #7a67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2d86",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 251.461,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37266,
    "c": 0.14165,
    "h": 286.1
  },
  "luminance": 0.04622
}

Semantic roles & 50–950 ramp

primary
#3E2D86
secondary
#A1B15E
accent
#D94FBF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3E2D86

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

Preview Lab → · Contrast checker → · Palette generator →

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