#3E2596#3E2596

#3E2596 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.172 H 284.7°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#3E2596
RGBrgb(62, 37, 150)
HSLhsl(253, 60%, 37%)
HSVhsv(253, 75%, 59%)
CMYKcmyk(58.7%, 75.3%, 0%, 41.2%)
CIE-LABlab(25.41, 42.01, -57.72)
CIE-LCHlch(25.41, 71.39, 306.05°)
OKLaboklab(37.56% 0.0435 -0.1662)
OKLCHoklch(37.56% 0.172 284.7)
XYZxyz(8.1515, 4.5488, 29.2967)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2596 #7D9625
analogous
#254596 #3E2596 #772596
triadic
#3E2596 #963E25 #25963E
tetradic
#3E2596 #962545 #7D9625 #259677
square
#3E2596 #962545 #7D9625 #259677
split-complementary
#3E2596 #967725 #459625
monochromatic
#150D34 #2A1965 #3E2596 #5231C7 #795ED7

Accessibility & contrast

On white

11.00
#3E2596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E2596
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2596#FFFFFF#000000##FFFFFF
##3E25961.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#0E445B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3e2596;
/* rgb */ color: rgb(62, 37, 150);
/* oklch */ color: oklch(37.6% 0.172 284.7);
Tailwind
colors: {
  custom: {
    50: '#7e62b6',
    500: '#3e2596',
    950: '#000000',
  },
}
SCSS
$custom: #3e2596;
$custom-light: #7e62b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2596",
  "rgb": {
    "r": 62,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 253.274,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37555,
    "c": 0.17185,
    "h": 284.7
  },
  "luminance": 0.04549
}

Semantic roles & 50–950 ramp

primary
#3E2596
secondary
#A7BC5B
accent
#E444C0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #3E2596

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

Preview Lab → · Contrast checker → · Palette generator →

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