#6A156A#6A156A

#6A156A is a dark, vivid purple. Relative luminance 0.046; OKLCH L 38.0% C 0.153 H 328.1°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#6A156A
RGBrgb(106, 21, 106)
HSLhsl(300, 67%, 25%)
HSVhsv(300, 80%, 42%)
CMYKcmyk(0%, 80.2%, 0%, 58.4%)
CIE-LABlab(25.69, 46.62, -29.22)
CIE-LCHlch(25.69, 55.02, 327.92°)
OKLaboklab(37.97% 0.1301 -0.081)
OKLCHoklch(37.97% 0.153 328.1)
XYZxyz(8.8134, 4.6418, 14.0646)
Luminance0.0464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A156A #156A15
analogous
#40156A #6A156A #6A1540
triadic
#6A156A #6A6A15 #156A6A
tetradic
#6A156A #6A4015 #156A15 #15406A
square
#6A156A #6A4015 #156A15 #15406A
split-complementary
#6A156A #406A15 #156A40
monochromatic
#1A051A #370B37 #6A156A #9D1F9D #D029D0

Accessibility & contrast

On white

10.89
#6A156A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#6A156A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A156A
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A156A#FFFFFF#000000##FFFFFF
##6A156A1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01366C
Deuteranopia (green-blind)
#2D4168
Tritanopia (blue-blind)
#6E233F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6a156a;
/* rgb */ color: rgb(106, 21, 106);
/* oklch */ color: oklch(38.0% 0.153 328.1);
Tailwind
colors: {
  custom: {
    50: '#985e95',
    500: '#6a156a',
    950: '#000000',
  },
}
SCSS
$custom: #6a156a;
$custom-light: #985e95;
$custom-dark: #000000;
JSON
{
  "hex": "#6a156a",
  "rgb": {
    "r": 106,
    "g": 21,
    "b": 106
  },
  "hsl": {
    "h": 300,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.37971,
    "c": 0.15329,
    "h": 328.1
  },
  "luminance": 0.04641
}

Semantic roles & 50–950 ramp

primary
#6A156A
secondary
#3AA13A
accent
#EA3E3E
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6A156A

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

Preview Lab → · Contrast checker → · Palette generator →

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