#6B1564#6B1564

#6B1564 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.8% C 0.149 H 331.8°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#6B1564
RGBrgb(107, 21, 100)
HSLhsl(305, 67%, 25%)
HSVhsv(305, 80%, 42%)
CMYKcmyk(0%, 80.4%, 6.5%, 58%)
CIE-LABlab(25.51, 45.82, -25.59)
CIE-LCHlch(25.51, 52.48, 330.81°)
OKLaboklab(37.76% 0.1313 -0.0705)
OKLCHoklch(37.76% 0.149 331.8)
XYZxyz(8.6318, 4.5829, 12.4841)
Luminance0.0458 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1564 #156B1C
analogous
#47156B #6B1564 #6B1539
triadic
#6B1564 #646B15 #15646B
tetradic
#6B1564 #6B4715 #156B1C #15396B
square
#6B1564 #6B4715 #156B1C #15396B
split-complementary
#6B1564 #396B15 #156B47
monochromatic
#1A0518 #380B34 #6B1564 #9E1F94 #D129C4

Accessibility & contrast

On white

10.96
#6B1564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1564
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1564#FFFFFF#000000##FFFFFF
##6B15641.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3566
Deuteranopia (green-blind)
#324162
Tritanopia (blue-blind)
#70203C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6b1564;
/* rgb */ color: rgb(107, 21, 100);
/* oklch */ color: oklch(37.8% 0.149 331.8);
Tailwind
colors: {
  custom: {
    50: '#995e90',
    500: '#6b1564',
    950: '#000000',
  },
}
SCSS
$custom: #6b1564;
$custom-light: #995e90;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1564",
  "rgb": {
    "r": 107,
    "g": 21,
    "b": 100
  },
  "hsl": {
    "h": 304.884,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.37763,
    "c": 0.14898,
    "h": 331.8
  },
  "luminance": 0.04582
}

Semantic roles & 50–950 ramp

primary
#6B1564
secondary
#3AA243
accent
#EA4C3E
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6B1564

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

Preview Lab → · Contrast checker → · Palette generator →

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