#3E24B1#3E24B1

#3E24B1 is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.2% C 0.205 H 280.3°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#3E24B1
RGBrgb(62, 36, 177)
HSLhsl(251, 66%, 42%)
HSVhsv(251, 80%, 69%)
CMYKcmyk(65%, 79.7%, 0%, 30.6%)
CIE-LABlab(28.01, 50.62, -69.81)
CIE-LCHlch(28.01, 86.23, 305.94°)
OKLaboklab(40.2% 0.0368 -0.2015)
OKLCHoklch(40.2% 0.205 280.3)
XYZxyz(10.5508, 5.4594, 42.0842)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E24B1 #97B124
analogous
#2451B1 #3E24B1 #8524B1
triadic
#3E24B1 #B13E24 #24B13E
tetradic
#3E24B1 #B12451 #97B124 #24B185
square
#3E24B1 #B12451 #97B124 #24B185
split-complementary
#3E24B1 #B18524 #51B124
monochromatic
#1A0F4B #2C1A7E #3E24B1 #583BD7 #836EE1

Accessibility & contrast

On white

10.04
#3E24B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3E24B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E24B1
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E24B1#FFFFFF#000000##FFFFFF
##3E24B11.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B5
Deuteranopia (green-blind)
#003DAF
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e24b1;
/* rgb */ color: rgb(62, 36, 177);
/* oklch */ color: oklch(40.2% 0.205 280.3);
Tailwind
colors: {
  custom: {
    50: '#8363ca',
    500: '#3e24b1',
    950: '#000000',
  },
}
SCSS
$custom: #3e24b1;
$custom-light: #8363ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3e24b1",
  "rgb": {
    "r": 62,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 251.064,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40203,
    "c": 0.20485,
    "h": 280.3
  },
  "luminance": 0.0546
}

Semantic roles & 50–950 ramp

primary
#3E24B1
secondary
#B6C869
accent
#E93FCA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E24B1

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

Preview Lab → · Contrast checker → · Palette generator →

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