#4024AE#4024AE

#4024AE is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.1% C 0.201 H 281.7°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#4024AE
RGBrgb(64, 36, 174)
HSLhsl(252, 66%, 41%)
HSVhsv(252, 79%, 68%)
CMYKcmyk(63.2%, 79.3%, 0%, 31.8%)
CIE-LABlab(27.86, 49.95, -68.24)
CIE-LCHlch(27.86, 84.57, 306.20°)
OKLaboklab(40.05% 0.0406 -0.1969)
OKLCHoklch(40.05% 0.201 281.7)
XYZxyz(10.3828, 5.4070, 40.5327)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4024AE #92AE24
analogous
#244DAE #4024AE #8524AE
triadic
#4024AE #AE4024 #24AE40
tetradic
#4024AE #AE244D #92AE24 #24AE85
square
#4024AE #AE244D #92AE24 #24AE85
split-complementary
#4024AE #AE8524 #4DAE24
monochromatic
#1B0F49 #2D1A7B #4024AE #5939D6 #846CE1

Accessibility & contrast

On white

10.09
#4024AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4024AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4024AE
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4024AE#FFFFFF#000000##FFFFFF
##4024AE1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B2
Deuteranopia (green-blind)
#003DAC
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4024ae;
/* rgb */ color: rgb(64, 36, 174);
/* oklch */ color: oklch(40.1% 0.201 281.7);
Tailwind
colors: {
  custom: {
    50: '#8363c7',
    500: '#4024ae',
    950: '#000000',
  },
}
SCSS
$custom: #4024ae;
$custom-light: #8363c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4024ae",
  "rgb": {
    "r": 64,
    "g": 36,
    "b": 174
  },
  "hsl": {
    "h": 252.174,
    "s": 65.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40054,
    "c": 0.20104,
    "h": 281.7
  },
  "luminance": 0.05408
}

Semantic roles & 50–950 ramp

primary
#4024AE
secondary
#B3C767
accent
#E93FC6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4024AE

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

Preview Lab → · Contrast checker → · Palette generator →

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