#6A23AC#6A23AC

#6A23AC is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.2% C 0.200 H 302.0°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#6A23AC
RGBrgb(106, 35, 172)
HSLhsl(271, 66%, 41%)
HSVhsv(271, 80%, 67%)
CMYKcmyk(38.4%, 79.7%, 0%, 32.5%)
CIE-LABlab(32.36, 55.55, -59.49)
CIE-LCHlch(32.36, 81.39, 313.04°)
OKLaboklab(44.22% 0.106 -0.1699)
OKLCHoklch(44.22% 0.2 302)
XYZxyz(13.9895, 7.2447, 39.6831)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A23AC #65AC23
analogous
#2523AC #6A23AC #AC23A9
triadic
#6A23AC #AC6A23 #23AC6A
tetradic
#6A23AC #AC2523 #65AC23 #23A9AC
square
#6A23AC #AC2523 #65AC23 #23A9AC
split-complementary
#6A23AC #A9AC23 #23AC25
monochromatic
#2B0E46 #4B1979 #6A23AC #8936D6 #A769E0

Accessibility & contrast

On white

8.57
#6A23AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6A23AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A23AC
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A23AC#FFFFFF#000000##FFFFFF
##6A23AC1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#5C4868
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6a23ac;
/* rgb */ color: rgb(106, 35, 172);
/* oklch */ color: oklch(44.2% 0.200 302.0);
Tailwind
colors: {
  custom: {
    50: '#9b67c6',
    500: '#6a23ac',
    950: '#000000',
  },
}
SCSS
$custom: #6a23ac;
$custom-light: #9b67c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a23ac",
  "rgb": {
    "r": 106,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 271.095,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44223,
    "c": 0.20021,
    "h": 302
  },
  "luminance": 0.07245
}

Semantic roles & 50–950 ramp

primary
#6A23AC
secondary
#94C664
accent
#E93F91
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6A23AC

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

Preview Lab → · Contrast checker → · Palette generator →

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