#6C24B1#6C24B1

#6C24B1 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 45.0% C 0.205 H 301.4°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#6C24B1
RGBrgb(108, 36, 177)
HSLhsl(271, 66%, 42%)
HSVhsv(271, 80%, 69%)
CMYKcmyk(39%, 79.7%, 0%, 30.6%)
CIE-LABlab(33.19, 56.67, -61.11)
CIE-LCHlch(33.19, 83.34, 312.84°)
OKLaboklab(44.99% 0.1067 -0.1746)
OKLCHoklch(44.99% 0.205 301.4)
XYZxyz(14.7491, 7.6241, 42.2810)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C24B1 #69B124
analogous
#2524B1 #6C24B1 #B124B0
triadic
#6C24B1 #B16C24 #24B16C
tetradic
#6C24B1 #B12524 #69B124 #24B0B1
square
#6C24B1 #B12524 #69B124 #24B0B1
split-complementary
#6C24B1 #B0B124 #24B125
monochromatic
#2E0F4B #4D1A7E #6C24B1 #8B3BD7 #A96EE1

Accessibility & contrast

On white

8.32
#6C24B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C24B1
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C24B1#FFFFFF#000000##FFFFFF
##6C24B11.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#5D4B6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6c24b1;
/* rgb */ color: rgb(108, 36, 177);
/* oklch */ color: oklch(45.0% 0.205 301.4);
Tailwind
colors: {
  custom: {
    50: '#9d68c9',
    500: '#6c24b1',
    950: '#000000',
  },
}
SCSS
$custom: #6c24b1;
$custom-light: #9d68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c24b1",
  "rgb": {
    "r": 108,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 270.638,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44991,
    "c": 0.20459,
    "h": 301.4
  },
  "luminance": 0.07624
}

Semantic roles & 50–950 ramp

primary
#6C24B1
secondary
#97C869
accent
#E93F92
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C24B1

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

Preview Lab → · Contrast checker → · Palette generator →

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