#3E2594#3E2594

#3E2594 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.169 H 285.1°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#3E2594
RGBrgb(62, 37, 148)
HSLhsl(254, 60%, 36%)
HSVhsv(254, 75%, 58%)
CMYKcmyk(58.1%, 75%, 0%, 42%)
CIE-LABlab(25.21, 41.40, -56.81)
CIE-LCHlch(25.21, 70.30, 306.08°)
OKLaboklab(37.36% 0.044 -0.1636)
OKLCHoklch(37.36% 0.169 285.1)
XYZxyz(7.9918, 4.4849, 28.4558)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2594 #7B9425
analogous
#254494 #3E2594 #762594
triadic
#3E2594 #943E25 #25943E
tetradic
#3E2594 #942544 #7B9425 #259476
square
#3E2594 #942544 #7B9425 #259476
split-complementary
#3E2594 #947625 #449425
monochromatic
#150D32 #291963 #3E2594 #5331C5 #785DD6

Accessibility & contrast

On white

11.07
#3E2594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E2594
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2594#FFFFFF#000000##FFFFFF
##3E25941.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003892
Tritanopia (blue-blind)
#12445A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3e2594;
/* rgb */ color: rgb(62, 37, 148);
/* oklch */ color: oklch(37.4% 0.169 285.1);
Tailwind
colors: {
  custom: {
    50: '#7e62b4',
    500: '#3e2594',
    950: '#000000',
  },
}
SCSS
$custom: #3e2594;
$custom-light: #7e62b4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2594",
  "rgb": {
    "r": 62,
    "g": 37,
    "b": 148
  },
  "hsl": {
    "h": 253.514,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37358,
    "c": 0.1694,
    "h": 285.1
  },
  "luminance": 0.04485
}

Semantic roles & 50–950 ramp

primary
#3E2594
secondary
#A5BB59
accent
#E345BF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #3E2594

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

Preview Lab → · Contrast checker → · Palette generator →

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