#3E24A3#3E24A3

#3E24A3 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.188 H 282.5°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#3E24A3
RGBrgb(62, 36, 163)
HSLhsl(252, 64%, 39%)
HSVhsv(252, 78%, 64%)
CMYKcmyk(62%, 77.9%, 0%, 36.1%)
CIE-LABlab(26.53, 46.46, -63.81)
CIE-LCHlch(26.53, 78.93, 306.06°)
OKLaboklab(38.74% 0.0408 -0.184)
OKLCHoklch(38.74% 0.188 282.5)
XYZxyz(9.2263, 4.9296, 35.1085)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E24A3 #89A324
analogous
#244AA3 #3E24A3 #7E24A3
triadic
#3E24A3 #A33E24 #24A33E
tetradic
#3E24A3 #A3244A #89A324 #24A37E
square
#3E24A3 #A3244A #89A324 #24A37E
split-complementary
#3E24A3 #A37E24 #4AA324
monochromatic
#180E3F #2B1971 #3E24A3 #5332D2 #7D65DD

Accessibility & contrast

On white

10.57
#3E24A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3E24A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E24A3
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E24A3#FFFFFF#000000##FFFFFF
##3E24A31.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A7
Deuteranopia (green-blind)
#003AA1
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3e24a3;
/* rgb */ color: rgb(62, 36, 163);
/* oklch */ color: oklch(38.7% 0.188 282.5);
Tailwind
colors: {
  custom: {
    50: '#8063bf',
    500: '#3e24a3',
    950: '#000000',
  },
}
SCSS
$custom: #3e24a3;
$custom-light: #8063bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e24a3",
  "rgb": {
    "r": 62,
    "g": 36,
    "b": 163
  },
  "hsl": {
    "h": 252.283,
    "s": 63.819,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38738,
    "c": 0.18849,
    "h": 282.5
  },
  "luminance": 0.0493
}

Semantic roles & 50–950 ramp

primary
#3E24A3
secondary
#AEC260
accent
#E741C5
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #3E24A3

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

Preview Lab → · Contrast checker → · Palette generator →

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