#6C24AA#6C24AA

#6C24AA is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.4% C 0.198 H 303.3°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#6C24AA
RGBrgb(108, 36, 170)
HSLhsl(272, 65%, 40%)
HSVhsv(272, 79%, 67%)
CMYKcmyk(36.5%, 78.8%, 0%, 33.3%)
CIE-LABlab(32.60, 55.03, -57.89)
CIE-LCHlch(32.60, 79.87, 313.55°)
OKLaboklab(44.4% 0.1086 -0.1651)
OKLCHoklch(44.4% 0.198 303.3)
XYZxyz(14.0692, 7.3522, 38.7003)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C24AA #62AA24
analogous
#2924AA #6C24AA #AA24A5
triadic
#6C24AA #AA6C24 #24AA6C
tetradic
#6C24AA #AA2924 #62AA24 #24A5AA
square
#6C24AA #AA2924 #62AA24 #24A5AA
split-complementary
#6C24AA #A5AA24 #24AA29
monochromatic
#2C0F45 #4C1977 #6C24AA #8B37D5 #A969DF

Accessibility & contrast

On white

8.50
#6C24AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6C24AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C24AA
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C24AA#FFFFFF#000000##FFFFFF
##6C24AA1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#004CA7
Tritanopia (blue-blind)
#5F4867
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6c24aa;
/* rgb */ color: rgb(108, 36, 170);
/* oklch */ color: oklch(44.4% 0.198 303.3);
Tailwind
colors: {
  custom: {
    50: '#9c68c4',
    500: '#6c24aa',
    950: '#000000',
  },
}
SCSS
$custom: #6c24aa;
$custom-light: #9c68c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c24aa",
  "rgb": {
    "r": 108,
    "g": 36,
    "b": 170
  },
  "hsl": {
    "h": 272.239,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44395,
    "c": 0.19764,
    "h": 303.3
  },
  "luminance": 0.07352
}

Semantic roles & 50–950 ramp

primary
#6C24AA
secondary
#91C565
accent
#E8408E
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C24AA

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

Preview Lab → · Contrast checker → · Palette generator →

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