#6024A5#6024A5

#6024A5 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.191 H 299.0°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#6024A5
RGBrgb(96, 36, 165)
HSLhsl(268, 64%, 39%)
HSVhsv(268, 78%, 65%)
CMYKcmyk(41.8%, 78.2%, 0%, 35.3%)
CIE-LABlab(30.56, 51.85, -58.27)
CIE-LCHlch(30.56, 78.00, 311.66°)
OKLaboklab(42.49% 0.0923 -0.1667)
OKLCHoklch(42.49% 0.191 299)
XYZxyz(12.2445, 6.4650, 36.1928)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6024A5 #69A524
analogous
#2429A5 #6024A5 #A124A5
triadic
#6024A5 #A56024 #24A560
tetradic
#6024A5 #A52429 #69A524 #24A5A1
square
#6024A5 #A52429 #69A524 #24A5A1
split-complementary
#6024A5 #A5A124 #29A524
monochromatic
#260E41 #431973 #6024A5 #7E34D3 #9E66DE

Accessibility & contrast

On white

9.16
#6024A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6024A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6024A5
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6024A5#FFFFFF#000000##FFFFFF
##6024A51.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#0047A3
Tritanopia (blue-blind)
#4F4764
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6024a5;
/* rgb */ color: rgb(96, 36, 165);
/* oklch */ color: oklch(42.5% 0.191 299.0);
Tailwind
colors: {
  custom: {
    50: '#9466c1',
    500: '#6024a5',
    950: '#000000',
  },
}
SCSS
$custom: #6024a5;
$custom-light: #9466c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6024a5",
  "rgb": {
    "r": 96,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 267.907,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4249,
    "c": 0.19051,
    "h": 299
  },
  "luminance": 0.06465
}

Semantic roles & 50–950 ramp

primary
#6024A5
secondary
#96C362
accent
#E7419A
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6024A5

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

Preview Lab → · Contrast checker → · Palette generator →

#6024A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva