#3E2D84#3E2D84

#3E2D84 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.1% C 0.139 H 286.5°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#3E2D84
RGBrgb(62, 45, 132)
HSLhsl(252, 49%, 35%)
HSVhsv(252, 66%, 52%)
CMYKcmyk(53%, 65.9%, 0%, 48.2%)
CIE-LABlab(25.46, 31.75, -46.46)
CIE-LCHlch(25.46, 56.27, 304.34°)
OKLaboklab(37.09% 0.0394 -0.1332)
OKLCHoklch(37.09% 0.139 286.5)
XYZxyz(7.0886, 4.5665, 22.3332)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2D84 #73842D
analogous
#2D4884 #3E2D84 #6A2D84
triadic
#3E2D84 #843E2D #2D843E
tetradic
#3E2D84 #842D48 #73842D #2D846A
square
#3E2D84 #842D48 #73842D #2D846A
split-complementary
#3E2D84 #846A2D #48842D
monochromatic
#130E29 #291D56 #3E2D84 #533DB2 #7662C9

Accessibility & contrast

On white

10.98
#3E2D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3E2D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2D84
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2D84#FFFFFF#000000##FFFFFF
##3E2D841.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#003A82
Tritanopia (blue-blind)
#234254
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3e2d84;
/* rgb */ color: rgb(62, 45, 132);
/* oklch */ color: oklch(37.1% 0.139 286.5);
Tailwind
colors: {
  custom: {
    50: '#7a67a8',
    500: '#3e2d84',
    950: '#000000',
  },
}
SCSS
$custom: #3e2d84;
$custom-light: #7a67a8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2d84",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 251.724,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37093,
    "c": 0.13894,
    "h": 286.5
  },
  "luminance": 0.04567
}

Semantic roles & 50–950 ramp

primary
#3E2D84
secondary
#A0B05D
accent
#D94FBE
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3E2D84

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

Preview Lab → · Contrast checker → · Palette generator →

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