#6C24B0#6C24B0

#6C24B0 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.9% C 0.204 H 301.7°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#6C24B0
RGBrgb(108, 36, 176)
HSLhsl(271, 66%, 42%)
HSVhsv(271, 80%, 69%)
CMYKcmyk(38.6%, 79.5%, 0%, 31%)
CIE-LABlab(33.10, 56.44, -60.65)
CIE-LCHlch(33.10, 82.85, 312.94°)
OKLaboklab(44.91% 0.107 -0.1732)
OKLCHoklch(44.91% 0.204 301.7)
XYZxyz(14.6498, 7.5844, 41.7580)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C24B0 #68B024
analogous
#2624B0 #6C24B0 #B024AE
triadic
#6C24B0 #B06C24 #24B06C
tetradic
#6C24B0 #B02624 #68B024 #24AEB0
square
#6C24B0 #B02624 #68B024 #24AEB0
split-complementary
#6C24B0 #AEB024 #24B026
monochromatic
#2E0F4A #4D1A7D #6C24B0 #8B3AD7 #A96DE1

Accessibility & contrast

On white

8.34
#6C24B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6C24B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C24B0
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C24B0#FFFFFF#000000##FFFFFF
##6C24B01.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c24b0;
/* rgb */ color: rgb(108, 36, 176);
/* oklch */ color: oklch(44.9% 0.204 301.7);
Tailwind
colors: {
  custom: {
    50: '#9d68c9',
    500: '#6c24b0',
    950: '#000000',
  },
}
SCSS
$custom: #6c24b0;
$custom-light: #9d68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c24b0",
  "rgb": {
    "r": 108,
    "g": 36,
    "b": 176
  },
  "hsl": {
    "h": 270.857,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44905,
    "c": 0.2036,
    "h": 301.7
  },
  "luminance": 0.07584
}

Semantic roles & 50–950 ramp

primary
#6C24B0
secondary
#97C868
accent
#E93F91
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C24B0

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

Preview Lab → · Contrast checker → · Palette generator →

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