#6C24A4#6C24A4

#6C24A4 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.9% C 0.192 H 305.1°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#6C24A4
RGBrgb(108, 36, 164)
HSLhsl(274, 64%, 39%)
HSVhsv(274, 78%, 64%)
CMYKcmyk(34.1%, 78%, 0%, 35.7%)
CIE-LABlab(32.10, 53.63, -55.08)
CIE-LCHlch(32.10, 76.88, 314.24°)
OKLaboklab(43.9% 0.1102 -0.1569)
OKLCHoklch(43.9% 0.192 305.1)
XYZxyz(13.5145, 7.1303, 35.7791)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C24A4 #5CA424
analogous
#2C24A4 #6C24A4 #A4249C
triadic
#6C24A4 #A46C24 #24A46C
tetradic
#6C24A4 #A42C24 #5CA424 #249CA4
square
#6C24A4 #A42C24 #5CA424 #249CA4
split-complementary
#6C24A4 #9CA424 #24A42C
monochromatic
#2A0E40 #4B1972 #6C24A4 #8D33D2 #A965DD

Accessibility & contrast

On white

8.66
#6C24A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6C24A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C24A4
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C24A4#FFFFFF#000000##FFFFFF
##6C24A41.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#004CA1
Tritanopia (blue-blind)
#614563
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6c24a4;
/* rgb */ color: rgb(108, 36, 164);
/* oklch */ color: oklch(43.9% 0.192 305.1);
Tailwind
colors: {
  custom: {
    50: '#9c67c0',
    500: '#6c24a4',
    950: '#000000',
  },
}
SCSS
$custom: #6c24a4;
$custom-light: #9c67c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c24a4",
  "rgb": {
    "r": 108,
    "g": 36,
    "b": 164
  },
  "hsl": {
    "h": 273.75,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43896,
    "c": 0.19168,
    "h": 305.1
  },
  "luminance": 0.0713
}

Semantic roles & 50–950 ramp

primary
#6C24A4
secondary
#8CC361
accent
#E7418A
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C24A4

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

Preview Lab → · Contrast checker → · Palette generator →

#6C24A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva