#3E24AC#3E24AC

#3E24AC is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.199 H 281.1°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#3E24AC
RGBrgb(62, 36, 172)
HSLhsl(251, 65%, 41%)
HSVhsv(251, 79%, 67%)
CMYKcmyk(64%, 79.1%, 0%, 32.5%)
CIE-LABlab(27.47, 49.14, -67.70)
CIE-LCHlch(27.47, 83.65, 305.98°)
OKLaboklab(39.67% 0.0382 -0.1953)
OKLCHoklch(39.67% 0.199 281.1)
XYZxyz(10.0615, 5.2637, 39.5075)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E24AC #92AC24
analogous
#244EAC #3E24AC #8224AC
triadic
#3E24AC #AC3E24 #24AC3E
tetradic
#3E24AC #AC244E #92AC24 #24AC82
square
#3E24AC #AC244E #92AC24 #24AC82
split-complementary
#3E24AC #AC8224 #4EAC24
monochromatic
#1A0F47 #2C1979 #3E24AC #5638D5 #816AE0

Accessibility & contrast

On white

10.23
#3E24AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3E24AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E24AC
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E24AC#FFFFFF#000000##FFFFFF
##3E24AC1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B0
Deuteranopia (green-blind)
#003CAA
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e24ac;
/* rgb */ color: rgb(62, 36, 172);
/* oklch */ color: oklch(39.7% 0.199 281.1);
Tailwind
colors: {
  custom: {
    50: '#8263c6',
    500: '#3e24ac',
    950: '#000000',
  },
}
SCSS
$custom: #3e24ac;
$custom-light: #8263c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e24ac",
  "rgb": {
    "r": 62,
    "g": 36,
    "b": 172
  },
  "hsl": {
    "h": 251.471,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39675,
    "c": 0.19905,
    "h": 281.1
  },
  "luminance": 0.05264
}

Semantic roles & 50–950 ramp

primary
#3E24AC
secondary
#B4C666
accent
#E83FC8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3E24AC

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

Preview Lab → · Contrast checker → · Palette generator →

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