#6B1562#6B1562

#6B1562 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.6% C 0.147 H 332.9°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#6B1562
RGBrgb(107, 21, 98)
HSLhsl(306, 67%, 25%)
HSVhsv(306, 80%, 42%)
CMYKcmyk(0%, 80.4%, 8.4%, 58%)
CIE-LABlab(25.40, 45.48, -24.46)
CIE-LCHlch(25.40, 51.64, 331.72°)
OKLaboklab(37.64% 0.1312 -0.0672)
OKLCHoklch(37.64% 0.147 332.9)
XYZxyz(8.5362, 4.5447, 11.9805)
Luminance0.0454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1562 #156B1E
analogous
#49156B #6B1562 #6B1537
triadic
#6B1562 #626B15 #15626B
tetradic
#6B1562 #6B4915 #156B1E #15376B
square
#6B1562 #6B4915 #156B1E #15376B
split-complementary
#6B1562 #376B15 #156B49
monochromatic
#1A0517 #380B33 #6B1562 #9E1F91 #D129C0

Accessibility & contrast

On white

11.00
#6B1562 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1562
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1562#FFFFFF#000000##FFFFFF
##6B15621.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103464
Deuteranopia (green-blind)
#334060
Tritanopia (blue-blind)
#701F3A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6b1562;
/* rgb */ color: rgb(107, 21, 98);
/* oklch */ color: oklch(37.6% 0.147 332.9);
Tailwind
colors: {
  custom: {
    50: '#995d8f',
    500: '#6b1562',
    950: '#000000',
  },
}
SCSS
$custom: #6b1562;
$custom-light: #995d8f;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1562",
  "rgb": {
    "r": 107,
    "g": 21,
    "b": 98
  },
  "hsl": {
    "h": 306.279,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.37642,
    "c": 0.14741,
    "h": 332.9
  },
  "luminance": 0.04544
}

Semantic roles & 50–950 ramp

primary
#6B1562
secondary
#3AA245
accent
#EA503E
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6B1562

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

Preview Lab → · Contrast checker → · Palette generator →

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