#6C24A8#6C24A8

#6C24A8 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.2% C 0.196 H 303.9°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#6C24A8
RGBrgb(108, 36, 168)
HSLhsl(273, 65%, 40%)
HSVhsv(273, 79%, 66%)
CMYKcmyk(35.7%, 78.6%, 0%, 34.1%)
CIE-LABlab(32.43, 54.56, -56.95)
CIE-LCHlch(32.43, 78.87, 313.77°)
OKLaboklab(44.23% 0.1091 -0.1624)
OKLCHoklch(44.23% 0.196 303.9)
XYZxyz(13.8815, 7.2771, 37.7115)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C24A8 #60A824
analogous
#2A24A8 #6C24A8 #A824A2
triadic
#6C24A8 #A86C24 #24A86C
tetradic
#6C24A8 #A82A24 #60A824 #24A2A8
square
#6C24A8 #A82A24 #60A824 #24A2A8
split-complementary
#6C24A8 #A2A824 #24A82A
monochromatic
#2B0E43 #4C1976 #6C24A8 #8C35D4 #A968DF

Accessibility & contrast

On white

8.55
#6C24A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6C24A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C24A8
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C24A8#FFFFFF#000000##FFFFFF
##6C24A81.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#004CA5
Tritanopia (blue-blind)
#604766
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6c24a8;
/* rgb */ color: rgb(108, 36, 168);
/* oklch */ color: oklch(44.2% 0.196 303.9);
Tailwind
colors: {
  custom: {
    50: '#9c67c3',
    500: '#6c24a8',
    950: '#000000',
  },
}
SCSS
$custom: #6c24a8;
$custom-light: #9c67c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c24a8",
  "rgb": {
    "r": 108,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 272.727,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.44228,
    "c": 0.19566,
    "h": 303.9
  },
  "luminance": 0.07277
}

Semantic roles & 50–950 ramp

primary
#6C24A8
secondary
#8FC463
accent
#E8408C
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6C24A8

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

Preview Lab → · Contrast checker → · Palette generator →

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