#3E24A5#3E24A5

#3E24A5 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.191 H 282.2°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#3E24A5
RGBrgb(62, 36, 165)
HSLhsl(252, 64%, 39%)
HSVhsv(252, 78%, 65%)
CMYKcmyk(62.4%, 78.2%, 0%, 35.3%)
CIE-LABlab(26.74, 47.06, -64.68)
CIE-LCHlch(26.74, 79.99, 306.04°)
OKLaboklab(38.95% 0.0402 -0.1866)
OKLCHoklch(38.95% 0.191 282.2)
XYZxyz(9.4069, 5.0018, 36.0598)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E24A5 #8BA524
analogous
#244BA5 #3E24A5 #7F24A5
triadic
#3E24A5 #A53E24 #24A53E
tetradic
#3E24A5 #A5244B #8BA524 #24A57F
square
#3E24A5 #A5244B #8BA524 #24A57F
split-complementary
#3E24A5 #A57F24 #4BA524
monochromatic
#180E41 #2B1973 #3E24A5 #5434D3 #7E66DE

Accessibility & contrast

On white

10.50
#3E24A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3E24A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E24A5
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E24A5#FFFFFF#000000##FFFFFF
##3E24A51.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A9
Deuteranopia (green-blind)
#003BA3
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3e24a5;
/* rgb */ color: rgb(62, 36, 165);
/* oklch */ color: oklch(38.9% 0.191 282.2);
Tailwind
colors: {
  custom: {
    50: '#8163c1',
    500: '#3e24a5',
    950: '#000000',
  },
}
SCSS
$custom: #3e24a5;
$custom-light: #8163c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e24a5",
  "rgb": {
    "r": 62,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 252.093,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38945,
    "c": 0.19085,
    "h": 282.2
  },
  "luminance": 0.05002
}

Semantic roles & 50–950 ramp

primary
#3E24A5
secondary
#B0C362
accent
#E741C6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #3E24A5

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

Preview Lab → · Contrast checker → · Palette generator →

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