#3E24A4#3E24A4

#3E24A4 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.190 H 282.3°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#3E24A4
RGBrgb(62, 36, 164)
HSLhsl(252, 64%, 39%)
HSVhsv(252, 78%, 64%)
CMYKcmyk(62.2%, 78%, 0%, 35.7%)
CIE-LABlab(26.64, 46.76, -64.25)
CIE-LCHlch(26.64, 79.46, 306.05°)
OKLaboklab(38.84% 0.0405 -0.1853)
OKLCHoklch(38.84% 0.19 282.3)
XYZxyz(9.3162, 4.9656, 35.5823)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E24A4 #8AA424
analogous
#244AA4 #3E24A4 #7E24A4
triadic
#3E24A4 #A43E24 #24A43E
tetradic
#3E24A4 #A4244A #8AA424 #24A47E
square
#3E24A4 #A4244A #8AA424 #24A47E
split-complementary
#3E24A4 #A47E24 #4AA424
monochromatic
#180E40 #2B1972 #3E24A4 #5333D2 #7E65DD

Accessibility & contrast

On white

10.54
#3E24A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3E24A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E24A4
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E24A4#FFFFFF#000000##FFFFFF
##3E24A41.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A8
Deuteranopia (green-blind)
#003AA2
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3e24a4;
/* rgb */ color: rgb(62, 36, 164);
/* oklch */ color: oklch(38.8% 0.190 282.3);
Tailwind
colors: {
  custom: {
    50: '#8163c0',
    500: '#3e24a4',
    950: '#000000',
  },
}
SCSS
$custom: #3e24a4;
$custom-light: #8163c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e24a4",
  "rgb": {
    "r": 62,
    "g": 36,
    "b": 164
  },
  "hsl": {
    "h": 252.188,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38842,
    "c": 0.18967,
    "h": 282.3
  },
  "luminance": 0.04966
}

Semantic roles & 50–950 ramp

primary
#3E24A4
secondary
#AFC361
accent
#E741C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #3E24A4

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

Preview Lab → · Contrast checker → · Palette generator →

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