#3E2589#3E2589

#3E2589 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.3% C 0.156 H 287.4°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#3E2589
RGBrgb(62, 37, 137)
HSLhsl(255, 57%, 34%)
HSVhsv(255, 73%, 54%)
CMYKcmyk(54.7%, 73%, 0%, 46.3%)
CIE-LABlab(24.17, 38.04, -51.70)
CIE-LCHlch(24.17, 64.18, 306.35°)
OKLaboklab(36.3% 0.0465 -0.1486)
OKLCHoklch(36.3% 0.156 287.4)
XYZxyz(7.1622, 4.1530, 24.0863)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2589 #708925
analogous
#253E89 #3E2589 #702589
triadic
#3E2589 #893E25 #25893E
tetradic
#3E2589 #89253E #708925 #258970
square
#3E2589 #89253E #708925 #258970
split-complementary
#3E2589 #897025 #3E8925
monochromatic
#120B29 #281859 #3E2589 #5432B9 #7657D2

Accessibility & contrast

On white

11.47
#3E2589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#3E2589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2589
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2589#FFFFFF#000000##FFFFFF
##3E25891.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#203F54
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3e2589;
/* rgb */ color: rgb(62, 37, 137);
/* oklch */ color: oklch(36.3% 0.156 287.4);
Tailwind
colors: {
  custom: {
    50: '#7c62ac',
    500: '#3e2589',
    950: '#000000',
  },
}
SCSS
$custom: #3e2589;
$custom-light: #7c62ac;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2589",
  "rgb": {
    "r": 62,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 255,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36301,
    "c": 0.15572,
    "h": 287.4
  },
  "luminance": 0.04153
}

Semantic roles & 50–950 ramp

primary
#3E2589
secondary
#9DB654
accent
#E147BA
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3E2589

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

Preview Lab → · Contrast checker → · Palette generator →

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