#6A276A#6A276A

#6A276A is a dark, vivid purple. Relative luminance 0.056; OKLCH L 39.8% C 0.130 H 327.7°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#6A276A
RGBrgb(106, 39, 106)
HSLhsl(300, 46%, 28%)
HSVhsv(300, 63%, 42%)
CMYKcmyk(0%, 63.2%, 0%, 58.4%)
CIE-LABlab(28.26, 39.36, -25.15)
CIE-LCHlch(28.26, 46.71, 327.43°)
OKLaboklab(39.83% 0.1096 -0.0694)
OKLCHoklch(39.83% 0.13 327.7)
XYZxyz(9.2708, 5.5564, 14.2171)
Luminance0.0556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A276A #276A27
analogous
#48276A #6A276A #6A2748
triadic
#6A276A #6A6A27 #276A6A
tetradic
#6A276A #6A4827 #276A27 #27486A
square
#6A276A #6A4827 #276A27 #27486A
split-complementary
#6A276A #486A27 #276A48
monochromatic
#160816 #3D173D #6A276A #973797 #BE4EBE

Accessibility & contrast

On white

9.95
#6A276A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6A276A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A276A
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A276A#FFFFFF#000000##FFFFFF
##6A276A1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3D6C
Deuteranopia (green-blind)
#374668
Tritanopia (blue-blind)
#6D2F44
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6a276a;
/* rgb */ color: rgb(106, 39, 106);
/* oklch */ color: oklch(39.8% 0.130 327.7);
Tailwind
colors: {
  custom: {
    50: '#976695',
    500: '#6a276a',
    950: '#000000',
  },
}
SCSS
$custom: #6a276a;
$custom-light: #976695;
$custom-dark: #000000;
JSON
{
  "hex": "#6a276a",
  "rgb": {
    "r": 106,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 300,
    "s": 46.207,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39826,
    "c": 0.12972,
    "h": 327.7
  },
  "luminance": 0.05556
}

Semantic roles & 50–950 ramp

primary
#6A276A
secondary
#509D50
accent
#D65252
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6A276A

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

Preview Lab → · Contrast checker → · Palette generator →

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