#6A1977#6A1977

#6A1977 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.160 H 321.7°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#6A1977
RGBrgb(106, 25, 119)
HSLhsl(292, 65%, 28%)
HSVhsv(292, 79%, 47%)
CMYKcmyk(10.9%, 79%, 0%, 53.3%)
CIE-LABlab(27.00, 47.70, -35.48)
CIE-LCHlch(27.00, 59.45, 323.35°)
OKLaboklab(39.17% 0.1256 -0.0993)
OKLCHoklch(39.17% 0.16 321.7)
XYZxyz(9.6209, 5.0919, 17.9253)
Luminance0.0509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1977 #267719
analogous
#3B1977 #6A1977 #771955
triadic
#6A1977 #776A19 #19776A
tetradic
#6A1977 #773B19 #267719 #195577
square
#6A1977 #773B19 #267719 #195577
split-complementary
#6A1977 #557719 #19773B
monochromatic
#170519 #3D0E44 #6A1977 #9724AA #BF36D5

Accessibility & contrast

On white

10.41
#6A1977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#6A1977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1977
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1977#FFFFFF#000000##FFFFFF
##6A19771.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7A
Deuteranopia (green-blind)
#264375
Tritanopia (blue-blind)
#6B2C47
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6a1977;
/* rgb */ color: rgb(106, 25, 119);
/* oklch */ color: oklch(39.2% 0.160 321.7);
Tailwind
colors: {
  custom: {
    50: '#98609f',
    500: '#6a1977',
    950: '#000000',
  },
}
SCSS
$custom: #6a1977;
$custom-light: #98609f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1977",
  "rgb": {
    "r": 106,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 291.702,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3917,
    "c": 0.16016,
    "h": 321.7
  },
  "luminance": 0.05091
}

Semantic roles & 50–950 ramp

primary
#6A1977
secondary
#4FAC40
accent
#E84057
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6A1977

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

Preview Lab → · Contrast checker → · Palette generator →

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