#6A1773#6A1773

#6A1773 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.7% C 0.159 H 323.6°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#6A1773
RGBrgb(106, 23, 115)
HSLhsl(294, 67%, 27%)
HSVhsv(294, 80%, 45%)
CMYKcmyk(7.8%, 80%, 0%, 54.9%)
CIE-LABlab(26.49, 47.61, -33.74)
CIE-LCHlch(26.49, 58.35, 324.68°)
OKLaboklab(38.73% 0.1278 -0.0942)
OKLCHoklch(38.73% 0.159 323.6)
XYZxyz(9.3445, 4.9153, 16.6729)
Luminance0.0491 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1773 #207317
analogous
#3C1773 #6A1773 #73174E
triadic
#6A1773 #736A17 #17736A
tetradic
#6A1773 #733C17 #207317 #174E73
square
#6A1773 #733C17 #207317 #174E73
split-complementary
#6A1773 #4E7317 #17733C
monochromatic
#18051A #3B0D40 #6A1773 #9921A6 #C52FD5

Accessibility & contrast

On white

10.59
#6A1773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#6A1773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1773
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1773#FFFFFF#000000##FFFFFF
##6A17731.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#284271
Tritanopia (blue-blind)
#6C2945
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6a1773;
/* rgb */ color: rgb(106, 23, 115);
/* oklch */ color: oklch(38.7% 0.159 323.6);
Tailwind
colors: {
  custom: {
    50: '#985f9c',
    500: '#6a1773',
    950: '#000000',
  },
}
SCSS
$custom: #6a1773;
$custom-light: #985f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1773",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 294.13,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.38728,
    "c": 0.15879,
    "h": 323.6
  },
  "luminance": 0.04915
}

Semantic roles & 50–950 ramp

primary
#6A1773
secondary
#48A93D
accent
#EA3E4F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6A1773

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

Preview Lab → · Contrast checker → · Palette generator →

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