#6B24AC#6B24AC

#6B24AC is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.4% C 0.199 H 302.3°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#6B24AC
RGBrgb(107, 36, 172)
HSLhsl(271, 65%, 41%)
HSVhsv(271, 79%, 67%)
CMYKcmyk(37.8%, 79.1%, 0%, 32.5%)
CIE-LABlab(32.63, 55.33, -59.04)
CIE-LCHlch(32.63, 80.92, 313.14°)
OKLaboklab(44.44% 0.1066 -0.1685)
OKLCHoklch(44.44% 0.199 302.3)
XYZxyz(14.1389, 7.3661, 39.6986)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B24AC #65AC24
analogous
#2724AC #6B24AC #AC24A9
triadic
#6B24AC #AC6B24 #24AC6B
tetradic
#6B24AC #AC2724 #65AC24 #24A9AC
square
#6B24AC #AC2724 #65AC24 #24A9AC
split-complementary
#6B24AC #A9AC24 #24AC27
monochromatic
#2C0F47 #4C1979 #6B24AC #8A38D5 #A86AE0

Accessibility & contrast

On white

8.49
#6B24AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6B24AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B24AC
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B24AC#FFFFFF#000000##FFFFFF
##6B24AC1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#5D4968
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6b24ac;
/* rgb */ color: rgb(107, 36, 172);
/* oklch */ color: oklch(44.4% 0.199 302.3);
Tailwind
colors: {
  custom: {
    50: '#9c68c6',
    500: '#6b24ac',
    950: '#000000',
  },
}
SCSS
$custom: #6b24ac;
$custom-light: #9c68c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b24ac",
  "rgb": {
    "r": 107,
    "g": 36,
    "b": 172
  },
  "hsl": {
    "h": 271.324,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44439,
    "c": 0.19944,
    "h": 302.3
  },
  "luminance": 0.07366
}

Semantic roles & 50–950 ramp

primary
#6B24AC
secondary
#94C666
accent
#E83F90
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B24AC

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

Preview Lab → · Contrast checker → · Palette generator →

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