#6D1562#6D1562

#6D1562 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.0% C 0.149 H 333.9°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#6D1562
RGBrgb(109, 21, 98)
HSLhsl(308, 68%, 25%)
HSVhsv(308, 81%, 43%)
CMYKcmyk(0%, 80.7%, 10.1%, 57.3%)
CIE-LABlab(25.77, 45.96, -23.84)
CIE-LCHlch(25.77, 51.78, 332.58°)
OKLaboklab(37.98% 0.1334 -0.0654)
OKLCHoklch(37.98% 0.149 333.9)
XYZxyz(8.7795, 4.6702, 11.9919)
Luminance0.0467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1562 #156D20
analogous
#4C156D #6D1562 #6D1536
triadic
#6D1562 #626D15 #15626D
tetradic
#6D1562 #6D4C15 #156D20 #15366D
square
#6D1562 #6D4C15 #156D20 #15366D
split-complementary
#6D1562 #366D15 #156D4C
monochromatic
#1A0517 #3A0B34 #6D1562 #A01F90 #D429BE

Accessibility & contrast

On white

10.86
#6D1562 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D1562
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1562#FFFFFF#000000##FFFFFF
##6D15621.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123564
Deuteranopia (green-blind)
#344160
Tritanopia (blue-blind)
#721E3B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6d1562;
/* rgb */ color: rgb(109, 21, 98);
/* oklch */ color: oklch(38.0% 0.149 333.9);
Tailwind
colors: {
  custom: {
    50: '#9a5e8f',
    500: '#6d1562',
    950: '#000000',
  },
}
SCSS
$custom: #6d1562;
$custom-light: #9a5e8f;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1562",
  "rgb": {
    "r": 109,
    "g": 21,
    "b": 98
  },
  "hsl": {
    "h": 307.5,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.37984,
    "c": 0.14854,
    "h": 333.9
  },
  "luminance": 0.04669
}

Semantic roles & 50–950 ramp

primary
#6D1562
secondary
#3AA347
accent
#EB533D
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6D1562

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

Preview Lab → · Contrast checker → · Palette generator →

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