#6A1566#6A1566

#6A1566 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.7% C 0.150 H 330.2°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#6A1566
RGBrgb(106, 21, 102)
HSLhsl(303, 67%, 25%)
HSVhsv(303, 80%, 42%)
CMYKcmyk(0%, 80.2%, 3.8%, 58.4%)
CIE-LABlab(25.44, 45.92, -27.01)
CIE-LCHlch(25.44, 53.28, 329.53°)
OKLaboklab(37.72% 0.1302 -0.0746)
OKLCHoklch(37.72% 0.15 330.2)
XYZxyz(8.6103, 4.5605, 12.9946)
Luminance0.0456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1566 #156A19
analogous
#44156A #6A1566 #6A153B
triadic
#6A1566 #666A15 #15666A
tetradic
#6A1566 #6A4415 #156A19 #153B6A
square
#6A1566 #6A4415 #156A19 #153B6A
split-complementary
#6A1566 #3B6A15 #156A44
monochromatic
#1A0519 #370B35 #6A1566 #9D1F97 #D029C8

Accessibility & contrast

On white

10.98
#6A1566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#6A1566 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1566
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1566#FFFFFF#000000##FFFFFF
##6A15661.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093568
Deuteranopia (green-blind)
#304064
Tritanopia (blue-blind)
#6E213D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6a1566;
/* rgb */ color: rgb(106, 21, 102);
/* oklch */ color: oklch(37.7% 0.150 330.2);
Tailwind
colors: {
  custom: {
    50: '#985e92',
    500: '#6a1566',
    950: '#000000',
  },
}
SCSS
$custom: #6a1566;
$custom-light: #985e92;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1566",
  "rgb": {
    "r": 106,
    "g": 21,
    "b": 102
  },
  "hsl": {
    "h": 302.824,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.37717,
    "c": 0.15004,
    "h": 330.2
  },
  "luminance": 0.0456
}

Semantic roles & 50–950 ramp

primary
#6A1566
secondary
#3AA13F
accent
#EA463E
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6A1566

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

Preview Lab → · Contrast checker → · Palette generator →

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