#3E24B3#3E24B3

#3E24B3 is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.4% C 0.207 H 280.1°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#3E24B3
RGBrgb(62, 36, 179)
HSLhsl(251, 67%, 42%)
HSVhsv(251, 80%, 70%)
CMYKcmyk(65.4%, 79.9%, 0%, 29.8%)
CIE-LABlab(28.22, 51.21, -70.65)
CIE-LCHlch(28.22, 87.26, 305.93°)
OKLaboklab(40.42% 0.0362 -0.204)
OKLCHoklch(40.42% 0.207 280.1)
XYZxyz(10.7516, 5.5397, 43.1418)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E24B3 #99B324
analogous
#2452B3 #3E24B3 #8624B3
triadic
#3E24B3 #B33E24 #24B33E
tetradic
#3E24B3 #B32452 #99B324 #24B386
square
#3E24B3 #B32452 #99B324 #24B386
split-complementary
#3E24B3 #B38624 #52B324
monochromatic
#1B104D #2C1A80 #3E24B3 #593CD8 #846FE2

Accessibility & contrast

On white

9.96
#3E24B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3E24B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E24B3
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E24B3#FFFFFF#000000##FFFFFF
##3E24B31.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#003DB1
Tritanopia (blue-blind)
#004F6C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e24b3;
/* rgb */ color: rgb(62, 36, 179);
/* oklch */ color: oklch(40.4% 0.207 280.1);
Tailwind
colors: {
  custom: {
    50: '#8464cb',
    500: '#3e24b3',
    950: '#000000',
  },
}
SCSS
$custom: #3e24b3;
$custom-light: #8464cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3e24b3",
  "rgb": {
    "r": 62,
    "g": 36,
    "b": 179
  },
  "hsl": {
    "h": 250.909,
    "s": 66.512,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40415,
    "c": 0.20715,
    "h": 280.1
  },
  "luminance": 0.05541
}

Semantic roles & 50–950 ramp

primary
#3E24B3
secondary
#B8C96A
accent
#E93ECA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E24B3

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

Preview Lab → · Contrast checker → · Palette generator →

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