#6C24A5#6C24A5

#6C24A5 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.0% C 0.193 H 304.8°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#6C24A5
RGBrgb(108, 36, 165)
HSLhsl(273, 64%, 39%)
HSVhsv(273, 78%, 65%)
CMYKcmyk(34.5%, 78.2%, 0%, 35.3%)
CIE-LABlab(32.18, 53.87, -55.55)
CIE-LCHlch(32.18, 77.38, 314.12°)
OKLaboklab(43.98% 0.1099 -0.1583)
OKLCHoklch(43.98% 0.193 304.8)
XYZxyz(13.6052, 7.1666, 36.2566)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C24A5 #5DA524
analogous
#2B24A5 #6C24A5 #A5249E
triadic
#6C24A5 #A56C24 #24A56C
tetradic
#6C24A5 #A52B24 #5DA524 #249EA5
square
#6C24A5 #A52B24 #5DA524 #249EA5
split-complementary
#6C24A5 #9EA524 #24A52B
monochromatic
#2A0E41 #4B1973 #6C24A5 #8C34D3 #A966DE

Accessibility & contrast

On white

8.63
#6C24A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C24A5
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C24A5#FFFFFF#000000##FFFFFF
##6C24A51.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA9
Deuteranopia (green-blind)
#004CA2
Tritanopia (blue-blind)
#614564
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6c24a5;
/* rgb */ color: rgb(108, 36, 165);
/* oklch */ color: oklch(44.0% 0.193 304.8);
Tailwind
colors: {
  custom: {
    50: '#9c67c1',
    500: '#6c24a5',
    950: '#000000',
  },
}
SCSS
$custom: #6c24a5;
$custom-light: #9c67c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c24a5",
  "rgb": {
    "r": 108,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 273.488,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43979,
    "c": 0.19268,
    "h": 304.8
  },
  "luminance": 0.07167
}

Semantic roles & 50–950 ramp

primary
#6C24A5
secondary
#8DC362
accent
#E7418A
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C24A5

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

Preview Lab → · Contrast checker → · Palette generator →

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