#6C23AC#6C23AC

#6C23AC is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.5% C 0.201 H 302.9°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#6C23AC
RGBrgb(108, 35, 172)
HSLhsl(272, 66%, 41%)
HSVhsv(272, 80%, 67%)
CMYKcmyk(37.2%, 79.7%, 0%, 32.5%)
CIE-LABlab(32.63, 55.88, -59.03)
CIE-LCHlch(32.63, 81.28, 313.43°)
OKLaboklab(44.47% 0.1089 -0.1685)
OKLCHoklch(44.47% 0.201 302.9)
XYZxyz(14.2300, 7.3687, 39.6944)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C23AC #63AC23
analogous
#2723AC #6C23AC #AC23A7
triadic
#6C23AC #AC6C23 #23AC6C
tetradic
#6C23AC #AC2723 #63AC23 #23A7AC
square
#6C23AC #AC2723 #63AC23 #23A7AC
split-complementary
#6C23AC #A7AC23 #23AC27
monochromatic
#2C0E46 #4C1979 #6C23AC #8B36D6 #A969E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C23AC#FFFFFF#000000##FFFFFF
##6C23AC1.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)
#5F4868
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6c23ac;
/* rgb */ color: rgb(108, 35, 172);
/* oklch */ color: oklch(44.5% 0.201 302.9);
Tailwind
colors: {
  custom: {
    50: '#9c67c6',
    500: '#6c23ac',
    950: '#000000',
  },
}
SCSS
$custom: #6c23ac;
$custom-light: #9c67c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c23ac",
  "rgb": {
    "r": 108,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 271.971,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44473,
    "c": 0.20058,
    "h": 302.9
  },
  "luminance": 0.07369
}

Semantic roles & 50–950 ramp

primary
#6C23AC
secondary
#92C664
accent
#E93F8E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6C23AC

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

Preview Lab → · Contrast checker → · Palette generator →

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