#3E2595#3E2595

#3E2595 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.171 H 284.9°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#3E2595
RGBrgb(62, 37, 149)
HSLhsl(253, 60%, 36%)
HSVhsv(253, 75%, 58%)
CMYKcmyk(58.4%, 75.2%, 0%, 41.6%)
CIE-LABlab(25.31, 41.71, -57.27)
CIE-LCHlch(25.31, 70.85, 306.07°)
OKLaboklab(37.46% 0.0438 -0.1649)
OKLCHoklch(37.46% 0.171 284.9)
XYZxyz(8.0713, 4.5167, 28.8744)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2595 #7C9525
analogous
#254495 #3E2595 #762595
triadic
#3E2595 #953E25 #25953E
tetradic
#3E2595 #952544 #7C9525 #259576
square
#3E2595 #952544 #7C9525 #259576
split-complementary
#3E2595 #957625 #449525
monochromatic
#150D33 #2A1964 #3E2595 #5231C6 #795ED7

Accessibility & contrast

On white

11.03
#3E2595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3E2595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2595
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2595#FFFFFF#000000##FFFFFF
##3E25951.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#10445B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3e2595;
/* rgb */ color: rgb(62, 37, 149);
/* oklch */ color: oklch(37.5% 0.171 284.9);
Tailwind
colors: {
  custom: {
    50: '#7e62b5',
    500: '#3e2595',
    950: '#000000',
  },
}
SCSS
$custom: #3e2595;
$custom-light: #7e62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2595",
  "rgb": {
    "r": 62,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 253.393,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37457,
    "c": 0.17062,
    "h": 284.9
  },
  "luminance": 0.04517
}

Semantic roles & 50–950 ramp

primary
#3E2595
secondary
#A6BC5A
accent
#E344C0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #3E2595

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

Preview Lab → · Contrast checker → · Palette generator →

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