#6C24AF#6C24AF

#6C24AF is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.8% C 0.203 H 302.0°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#6C24AF
RGBrgb(108, 36, 175)
HSLhsl(271, 66%, 41%)
HSVhsv(271, 79%, 69%)
CMYKcmyk(38.3%, 79.4%, 0%, 31.4%)
CIE-LABlab(33.02, 56.20, -60.19)
CIE-LCHlch(33.02, 82.35, 313.04°)
OKLaboklab(44.82% 0.1072 -0.1719)
OKLCHoklch(44.82% 0.203 302)
XYZxyz(14.5512, 7.5450, 41.2388)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C24AF #67AF24
analogous
#2624AF #6C24AF #AF24AD
triadic
#6C24AF #AF6C24 #24AF6C
tetradic
#6C24AF #AF2624 #67AF24 #24ADAF
square
#6C24AF #AF2624 #67AF24 #24ADAF
split-complementary
#6C24AF #ADAF24 #24AF26
monochromatic
#2D0F49 #4D1A7C #6C24AF #8B3AD6 #A96DE1

Accessibility & contrast

On white

8.37
#6C24AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6C24AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C24AF
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C24AF#FFFFFF#000000##FFFFFF
##6C24AF1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#5D4A6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6c24af;
/* rgb */ color: rgb(108, 36, 175);
/* oklch */ color: oklch(44.8% 0.203 302.0);
Tailwind
colors: {
  custom: {
    50: '#9d68c8',
    500: '#6c24af',
    950: '#000000',
  },
}
SCSS
$custom: #6c24af;
$custom-light: #9d68c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c24af",
  "rgb": {
    "r": 108,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 271.079,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4482,
    "c": 0.2026,
    "h": 302
  },
  "luminance": 0.07545
}

Semantic roles & 50–950 ramp

primary
#6C24AF
secondary
#96C768
accent
#E93F91
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C24AF

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

Preview Lab → · Contrast checker → · Palette generator →

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