#3E2592#3E2592

#3E2592 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.167 H 285.5°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#3E2592
RGBrgb(62, 37, 146)
HSLhsl(254, 60%, 36%)
HSVhsv(254, 75%, 57%)
CMYKcmyk(57.5%, 74.7%, 0%, 42.7%)
CIE-LABlab(25.02, 40.79, -55.89)
CIE-LCHlch(25.02, 69.20, 306.12°)
OKLaboklab(37.16% 0.0445 -0.1609)
OKLCHoklch(37.16% 0.167 285.5)
XYZxyz(7.8349, 4.4221, 27.6293)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2592 #799225
analogous
#254392 #3E2592 #742592
triadic
#3E2592 #923E25 #25923E
tetradic
#3E2592 #922543 #799225 #259274
square
#3E2592 #922543 #799225 #259274
split-complementary
#3E2592 #927425 #439225
monochromatic
#150C30 #291961 #3E2592 #5331C3 #785CD6

Accessibility & contrast

On white

11.14
#3E2592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3E2592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2592
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2592#FFFFFF#000000##FFFFFF
##3E25921.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003890
Tritanopia (blue-blind)
#154359
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3e2592;
/* rgb */ color: rgb(62, 37, 146);
/* oklch */ color: oklch(37.2% 0.167 285.5);
Tailwind
colors: {
  custom: {
    50: '#7d62b3',
    500: '#3e2592',
    950: '#000000',
  },
}
SCSS
$custom: #3e2592;
$custom-light: #7d62b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2592",
  "rgb": {
    "r": 62,
    "g": 37,
    "b": 146
  },
  "hsl": {
    "h": 253.761,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37163,
    "c": 0.16693,
    "h": 285.5
  },
  "luminance": 0.04423
}

Semantic roles & 50–950 ramp

primary
#3E2592
secondary
#A4BA58
accent
#E345BF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3E2592

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

Preview Lab → · Contrast checker → · Palette generator →

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