#6C1773#6C1773

#6C1773 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.160 H 324.6°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#6C1773
RGBrgb(108, 23, 115)
HSLhsl(295, 67%, 27%)
HSVhsv(295, 80%, 45%)
CMYKcmyk(6.1%, 80%, 0%, 54.9%)
CIE-LABlab(26.85, 48.05, -33.15)
CIE-LCHlch(26.85, 58.37, 325.40°)
OKLaboklab(39.05% 0.1302 -0.0924)
OKLCHoklch(39.05% 0.16 324.6)
XYZxyz(9.5850, 5.0394, 16.6842)
Luminance0.0504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1773 #1E7317
analogous
#3E1773 #6C1773 #73174C
triadic
#6C1773 #736C17 #17736C
tetradic
#6C1773 #733E17 #1E7317 #174C73
square
#6C1773 #733E17 #1E7317 #174C73
split-complementary
#6C1773 #4C7317 #17733E
monochromatic
#18051A #3C0D40 #6C1773 #9C21A6 #C92FD5

Accessibility & contrast

On white

10.46
#6C1773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#6C1773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1773
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1773#FFFFFF#000000##FFFFFF
##6C17731.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#2A4371
Tritanopia (blue-blind)
#6E2845
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6c1773;
/* rgb */ color: rgb(108, 23, 115);
/* oklch */ color: oklch(39.0% 0.160 324.6);
Tailwind
colors: {
  custom: {
    50: '#995f9c',
    500: '#6c1773',
    950: '#000000',
  },
}
SCSS
$custom: #6c1773;
$custom-light: #995f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1773",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 295.435,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.39048,
    "c": 0.15971,
    "h": 324.6
  },
  "luminance": 0.05039
}

Semantic roles & 50–950 ramp

primary
#6C1773
secondary
#45A93D
accent
#EA3E4B
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1773

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

Preview Lab → · Contrast checker → · Palette generator →

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