#6C24A3#6C24A3

#6C24A3 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.8% C 0.191 H 305.4°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#6C24A3
RGBrgb(108, 36, 163)
HSLhsl(274, 64%, 39%)
HSVhsv(274, 78%, 64%)
CMYKcmyk(33.7%, 77.9%, 0%, 36.1%)
CIE-LABlab(32.02, 53.40, -54.61)
CIE-LCHlch(32.02, 76.38, 314.36°)
OKLaboklab(43.81% 0.1104 -0.1555)
OKLCHoklch(43.81% 0.191 305.4)
XYZxyz(13.4246, 7.0943, 35.3053)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C24A3 #5BA324
analogous
#2D24A3 #6C24A3 #A3249B
triadic
#6C24A3 #A36C24 #24A36C
tetradic
#6C24A3 #A32D24 #5BA324 #249BA3
square
#6C24A3 #A32D24 #5BA324 #249BA3
split-complementary
#6C24A3 #9BA324 #24A32D
monochromatic
#2A0E3F #4B1971 #6C24A3 #8D32D2 #A965DD

Accessibility & contrast

On white

8.68
#6C24A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6C24A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C24A3
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C24A3#FFFFFF#000000##FFFFFF
##6C24A31.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A6
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#624563
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6c24a3;
/* rgb */ color: rgb(108, 36, 163);
/* oklch */ color: oklch(43.8% 0.191 305.4);
Tailwind
colors: {
  custom: {
    50: '#9b67bf',
    500: '#6c24a3',
    950: '#000000',
  },
}
SCSS
$custom: #6c24a3;
$custom-light: #9b67bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6c24a3",
  "rgb": {
    "r": 108,
    "g": 36,
    "b": 163
  },
  "hsl": {
    "h": 274.016,
    "s": 63.819,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43814,
    "c": 0.19069,
    "h": 305.4
  },
  "luminance": 0.07094
}

Semantic roles & 50–950 ramp

primary
#6C24A3
secondary
#8BC260
accent
#E74189
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C24A3

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

Preview Lab → · Contrast checker → · Palette generator →

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