#6C23AF#6C23AF

#6C23AF is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.7% C 0.204 H 302.1°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#6C23AF
RGBrgb(108, 35, 175)
HSLhsl(271, 67%, 41%)
HSVhsv(271, 80%, 69%)
CMYKcmyk(38.3%, 80%, 0%, 31.4%)
CIE-LABlab(32.89, 56.58, -60.40)
CIE-LCHlch(32.89, 82.76, 313.13°)
OKLaboklab(44.73% 0.108 -0.1725)
OKLCHoklch(44.73% 0.204 302.1)
XYZxyz(14.5214, 7.4853, 41.2289)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C23AF #66AF23
analogous
#2623AF #6C23AF #AF23AC
triadic
#6C23AF #AF6C23 #23AF6C
tetradic
#6C23AF #AF2623 #66AF23 #23ACAF
square
#6C23AF #AF2623 #66AF23 #23ACAF
split-complementary
#6C23AF #ACAF23 #23AF26
monochromatic
#2D0F49 #4D197C #6C23AF #8B38D7 #A96BE1

Accessibility & contrast

On white

8.41
#6C23AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6C23AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C23AF
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C23AF#FFFFFF#000000##FFFFFF
##6C23AF1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#5D4969
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6c23af;
/* rgb */ color: rgb(108, 35, 175);
/* oklch */ color: oklch(44.7% 0.204 302.1);
Tailwind
colors: {
  custom: {
    50: '#9d67c8',
    500: '#6c23af',
    950: '#000000',
  },
}
SCSS
$custom: #6c23af;
$custom-light: #9d67c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c23af",
  "rgb": {
    "r": 108,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 271.286,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44729,
    "c": 0.20354,
    "h": 302.1
  },
  "luminance": 0.07485
}

Semantic roles & 50–950 ramp

primary
#6C23AF
secondary
#95C766
accent
#EA3E90
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C23AF

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

Preview Lab → · Contrast checker → · Palette generator →

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