#6C24AE#6C24AE

#6C24AE is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.7% C 0.202 H 302.2°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#6C24AE
RGBrgb(108, 36, 174)
HSLhsl(271, 66%, 41%)
HSVhsv(271, 79%, 68%)
CMYKcmyk(37.9%, 79.3%, 0%, 31.8%)
CIE-LABlab(32.93, 55.97, -59.73)
CIE-LCHlch(32.93, 81.86, 313.14°)
OKLaboklab(44.73% 0.1075 -0.1705)
OKLCHoklch(44.73% 0.202 302.2)
XYZxyz(14.4534, 7.5058, 40.7235)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C24AE #66AE24
analogous
#2724AE #6C24AE #AE24AB
triadic
#6C24AE #AE6C24 #24AE6C
tetradic
#6C24AE #AE2724 #66AE24 #24ABAE
square
#6C24AE #AE2724 #66AE24 #24ABAE
split-complementary
#6C24AE #ABAE24 #24AE27
monochromatic
#2D0F49 #4D1A7B #6C24AE #8B39D6 #A96CE1

Accessibility & contrast

On white

8.40
#6C24AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6C24AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C24AE
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C24AE#FFFFFF#000000##FFFFFF
##6C24AE1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#004DAB
Tritanopia (blue-blind)
#5E4969
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6c24ae;
/* rgb */ color: rgb(108, 36, 174);
/* oklch */ color: oklch(44.7% 0.202 302.2);
Tailwind
colors: {
  custom: {
    50: '#9c68c7',
    500: '#6c24ae',
    950: '#000000',
  },
}
SCSS
$custom: #6c24ae;
$custom-light: #9c68c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c24ae",
  "rgb": {
    "r": 108,
    "g": 36,
    "b": 174
  },
  "hsl": {
    "h": 271.304,
    "s": 65.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44734,
    "c": 0.20161,
    "h": 302.2
  },
  "luminance": 0.07506
}

Semantic roles & 50–950 ramp

primary
#6C24AE
secondary
#95C767
accent
#E93F90
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C24AE

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

Preview Lab → · Contrast checker → · Palette generator →

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