#6A1776#6A1776

#6A1776 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.161 H 322.2°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#6A1776
RGBrgb(106, 23, 118)
HSLhsl(292, 67%, 28%)
HSVhsv(292, 81%, 46%)
CMYKcmyk(10.2%, 80.5%, 0%, 53.7%)
CIE-LABlab(26.69, 48.18, -35.33)
CIE-LCHlch(26.69, 59.75, 323.75°)
OKLaboklab(38.93% 0.1275 -0.0989)
OKLCHoklch(38.93% 0.161 322.2)
XYZxyz(9.5199, 4.9855, 17.5969)
Luminance0.0498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1776 #237617
analogous
#3A1776 #6A1776 #761752
triadic
#6A1776 #766A17 #17766A
tetradic
#6A1776 #763A17 #237617 #175276
square
#6A1776 #763A17 #237617 #175276
split-complementary
#6A1776 #527617 #17763A
monochromatic
#17051A #3C0D43 #6A1776 #9821A9 #C231D7

Accessibility & contrast

On white

10.52
#6A1776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#6A1776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1776
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1776#FFFFFF#000000##FFFFFF
##6A17761.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003979
Deuteranopia (green-blind)
#264274
Tritanopia (blue-blind)
#6B2A46
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6a1776;
/* rgb */ color: rgb(106, 23, 118);
/* oklch */ color: oklch(38.9% 0.161 322.2);
Tailwind
colors: {
  custom: {
    50: '#985f9e',
    500: '#6a1776',
    950: '#000000',
  },
}
SCSS
$custom: #6a1776;
$custom-light: #985f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1776",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 292.421,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38935,
    "c": 0.16137,
    "h": 322.2
  },
  "luminance": 0.04985
}

Semantic roles & 50–950 ramp

primary
#6A1776
secondary
#4BAB3E
accent
#EA3E53
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6A1776

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

Preview Lab → · Contrast checker → · Palette generator →

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