#6C23AA#6C23AA

#6C23AA is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.3% C 0.199 H 303.4°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#6C23AA
RGBrgb(108, 35, 170)
HSLhsl(272, 66%, 40%)
HSVhsv(272, 79%, 67%)
CMYKcmyk(36.5%, 79.4%, 0%, 33.3%)
CIE-LABlab(32.46, 55.41, -58.10)
CIE-LCHlch(32.46, 80.29, 313.64°)
OKLaboklab(44.3% 0.1094 -0.1657)
OKLCHoklch(44.3% 0.199 303.4)
XYZxyz(14.0394, 7.2925, 38.6904)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C23AA #61AA23
analogous
#2823AA #6C23AA #AA23A5
triadic
#6C23AA #AA6C23 #23AA6C
tetradic
#6C23AA #AA2823 #61AA23 #23A5AA
square
#6C23AA #AA2823 #61AA23 #23A5AA
split-complementary
#6C23AA #A5AA23 #23AA28
monochromatic
#2C0E44 #4C1977 #6C23AA #8C35D5 #A968E0

Accessibility & contrast

On white

8.54
#6C23AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6C23AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C23AA
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C23AA#FFFFFF#000000##FFFFFF
##6C23AA1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#004CA7
Tritanopia (blue-blind)
#5F4767
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6c23aa;
/* rgb */ color: rgb(108, 35, 170);
/* oklch */ color: oklch(44.3% 0.199 303.4);
Tailwind
colors: {
  custom: {
    50: '#9c67c4',
    500: '#6c23aa',
    950: '#000000',
  },
}
SCSS
$custom: #6c23aa;
$custom-light: #9c67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c23aa",
  "rgb": {
    "r": 108,
    "g": 35,
    "b": 170
  },
  "hsl": {
    "h": 272.444,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44303,
    "c": 0.19861,
    "h": 303.4
  },
  "luminance": 0.07292
}

Semantic roles & 50–950 ramp

primary
#6C23AA
secondary
#90C663
accent
#E93F8D
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6C23AA

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

Preview Lab → · Contrast checker → · Palette generator →

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