#3E2590#3E2590

#3E2590 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.0% C 0.164 H 285.9°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#3E2590
RGBrgb(62, 37, 144)
HSLhsl(254, 59%, 35%)
HSVhsv(254, 74%, 56%)
CMYKcmyk(56.9%, 74.3%, 0%, 43.5%)
CIE-LABlab(24.83, 40.18, -54.97)
CIE-LCHlch(24.83, 68.09, 306.16°)
OKLaboklab(36.97% 0.045 -0.1582)
OKLCHoklch(36.97% 0.164 285.9)
XYZxyz(7.6807, 4.3605, 26.8171)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2590 #779025
analogous
#254190 #3E2590 #732590
triadic
#3E2590 #903E25 #25903E
tetradic
#3E2590 #902541 #779025 #259073
square
#3E2590 #902541 #779025 #259073
split-complementary
#3E2590 #907325 #419025
monochromatic
#140C2F #29185F #3E2590 #5332C1 #775BD5

Accessibility & contrast

On white

11.22
#3E2590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3E2590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2590
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2590#FFFFFF#000000##FFFFFF
##3E25901.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00388E
Tritanopia (blue-blind)
#184258
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3e2590;
/* rgb */ color: rgb(62, 37, 144);
/* oklch */ color: oklch(37.0% 0.164 285.9);
Tailwind
colors: {
  custom: {
    50: '#7d62b2',
    500: '#3e2590',
    950: '#000000',
  },
}
SCSS
$custom: #3e2590;
$custom-light: #7d62b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2590",
  "rgb": {
    "r": 62,
    "g": 37,
    "b": 144
  },
  "hsl": {
    "h": 254.019,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36969,
    "c": 0.16446,
    "h": 285.9
  },
  "luminance": 0.04361
}

Semantic roles & 50–950 ramp

primary
#3E2590
secondary
#A3B957
accent
#E245BE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3E2590

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

Preview Lab → · Contrast checker → · Palette generator →

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