#3E24B4#3E24B4

#3E24B4 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.5% C 0.208 H 279.9°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#3E24B4
RGBrgb(62, 36, 180)
HSLhsl(251, 67%, 42%)
HSVhsv(251, 80%, 71%)
CMYKcmyk(65.6%, 80%, 0%, 29.4%)
CIE-LABlab(28.33, 51.50, -71.07)
CIE-LCHlch(28.33, 87.77, 305.93°)
OKLaboklab(40.52% 0.0359 -0.2052)
OKLCHoklch(40.52% 0.208 279.9)
XYZxyz(10.8531, 5.5803, 43.6763)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E24B4 #9AB424
analogous
#2452B4 #3E24B4 #8624B4
triadic
#3E24B4 #B43E24 #24B43E
tetradic
#3E24B4 #B42452 #9AB424 #24B486
square
#3E24B4 #B42452 #9AB424 #24B486
split-complementary
#3E24B4 #B48624 #52B424
monochromatic
#1B104E #2C1A81 #3E24B4 #593DD8 #8570E2

Accessibility & contrast

On white

9.92
#3E24B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3E24B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E24B4
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E24B4#FFFFFF#000000##FFFFFF
##3E24B41.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B8
Deuteranopia (green-blind)
#003DB1
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e24b4;
/* rgb */ color: rgb(62, 36, 180);
/* oklch */ color: oklch(40.5% 0.208 279.9);
Tailwind
colors: {
  custom: {
    50: '#8464cc',
    500: '#3e24b4',
    950: '#000000',
  },
}
SCSS
$custom: #3e24b4;
$custom-light: #8464cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e24b4",
  "rgb": {
    "r": 62,
    "g": 36,
    "b": 180
  },
  "hsl": {
    "h": 250.833,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40522,
    "c": 0.2083,
    "h": 279.9
  },
  "luminance": 0.05581
}

Semantic roles & 50–950 ramp

primary
#3E24B4
secondary
#B8C96B
accent
#EA3ECB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3E24B4

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

Preview Lab → · Contrast checker → · Palette generator →

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