#4024A3#4024A3

#4024A3 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.188 H 283.5°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#4024A3
RGBrgb(64, 36, 163)
HSLhsl(253, 64%, 39%)
HSVhsv(253, 78%, 64%)
CMYKcmyk(60.7%, 77.9%, 0%, 36.1%)
CIE-LABlab(26.72, 46.70, -63.49)
CIE-LCHlch(26.72, 78.82, 306.33°)
OKLaboklab(38.92% 0.0438 -0.183)
OKLCHoklch(38.92% 0.188 283.5)
XYZxyz(9.3540, 4.9955, 35.1145)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4024A3 #87A324
analogous
#2448A3 #4024A3 #8024A3
triadic
#4024A3 #A34024 #24A340
tetradic
#4024A3 #A32448 #87A324 #24A380
square
#4024A3 #A32448 #87A324 #24A380
split-complementary
#4024A3 #A38024 #48A324
monochromatic
#190E3F #2C1971 #4024A3 #5632D2 #7F65DD

Accessibility & contrast

On white

10.50
#4024A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4024A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4024A3
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4024A3#FFFFFF#000000##FFFFFF
##4024A31.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4024a3;
/* rgb */ color: rgb(64, 36, 163);
/* oklch */ color: oklch(38.9% 0.188 283.5);
Tailwind
colors: {
  custom: {
    50: '#8163bf',
    500: '#4024a3',
    950: '#000000',
  },
}
SCSS
$custom: #4024a3;
$custom-light: #8163bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4024a3",
  "rgb": {
    "r": 64,
    "g": 36,
    "b": 163
  },
  "hsl": {
    "h": 253.228,
    "s": 63.819,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38916,
    "c": 0.18821,
    "h": 283.5
  },
  "luminance": 0.04996
}

Semantic roles & 50–950 ramp

primary
#4024A3
secondary
#ADC260
accent
#E741C2
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4024A3

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

Preview Lab → · Contrast checker → · Palette generator →

#4024A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva