#6024AC#6024AC

#6024AC is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.1% C 0.198 H 297.1°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#6024AC
RGBrgb(96, 36, 172)
HSLhsl(266, 65%, 41%)
HSVhsv(266, 79%, 67%)
CMYKcmyk(44.2%, 79.1%, 0%, 32.5%)
CIE-LABlab(31.18, 53.60, -61.47)
CIE-LCHlch(31.18, 81.56, 311.09°)
OKLaboklab(43.11% 0.0902 -0.1761)
OKLCHoklch(43.11% 0.198 297.1)
XYZxyz(12.8992, 6.7268, 39.6405)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6024AC #70AC24
analogous
#242CAC #6024AC #A424AC
triadic
#6024AC #AC6024 #24AC60
tetradic
#6024AC #AC242C #70AC24 #24ACA4
square
#6024AC #AC242C #70AC24 #24ACA4
split-complementary
#6024AC #ACA424 #2CAC24
monochromatic
#280F47 #441979 #6024AC #7D38D5 #9E6AE0

Accessibility & contrast

On white

8.95
#6024AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6024AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6024AC
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6024AC#FFFFFF#000000##FFFFFF
##6024AC1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB0
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#4C4A68
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6024ac;
/* rgb */ color: rgb(96, 36, 172);
/* oklch */ color: oklch(43.1% 0.198 297.1);
Tailwind
colors: {
  custom: {
    50: '#9566c6',
    500: '#6024ac',
    950: '#000000',
  },
}
SCSS
$custom: #6024ac;
$custom-light: #9566c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6024ac",
  "rgb": {
    "r": 96,
    "g": 36,
    "b": 172
  },
  "hsl": {
    "h": 266.471,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43114,
    "c": 0.19784,
    "h": 297.1
  },
  "luminance": 0.06727
}

Semantic roles & 50–950 ramp

primary
#6024AC
secondary
#9CC666
accent
#E83F9E
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6024AC

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

Preview Lab → · Contrast checker → · Palette generator →

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