#6B1566#6B1566

#6B1566 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.9% C 0.151 H 330.7°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#6B1566
RGBrgb(107, 21, 102)
HSLhsl(303, 67%, 25%)
HSVhsv(303, 80%, 42%)
CMYKcmyk(0%, 80.4%, 4.7%, 58%)
CIE-LABlab(25.63, 46.15, -26.71)
CIE-LCHlch(25.63, 53.32, 329.94°)
OKLaboklab(37.89% 0.1313 -0.0737)
OKLCHoklch(37.89% 0.151 330.7)
XYZxyz(8.7298, 4.6221, 13.0002)
Luminance0.0462 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1566 #156B1A
analogous
#45156B #6B1566 #6B153B
triadic
#6B1566 #666B15 #15666B
tetradic
#6B1566 #6B4515 #156B1A #153B6B
square
#6B1566 #6B4515 #156B1A #153B6B
split-complementary
#6B1566 #3B6B15 #156B45
monochromatic
#1A0518 #380B35 #6B1566 #9E1F97 #D129C8

Accessibility & contrast

On white

10.91
#6B1566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#6B1566 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1566
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1566#FFFFFF#000000##FFFFFF
##6B15661.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3568
Deuteranopia (green-blind)
#314164
Tritanopia (blue-blind)
#6F213D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6b1566;
/* rgb */ color: rgb(107, 21, 102);
/* oklch */ color: oklch(37.9% 0.151 330.7);
Tailwind
colors: {
  custom: {
    50: '#995e92',
    500: '#6b1566',
    950: '#000000',
  },
}
SCSS
$custom: #6b1566;
$custom-light: #995e92;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1566",
  "rgb": {
    "r": 107,
    "g": 21,
    "b": 102
  },
  "hsl": {
    "h": 303.488,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.37885,
    "c": 0.15058,
    "h": 330.7
  },
  "luminance": 0.04621
}

Semantic roles & 50–950 ramp

primary
#6B1566
secondary
#3AA240
accent
#EA483E
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6B1566

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

Preview Lab → · Contrast checker → · Palette generator →

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