#6D1B8A#6D1B8A

#6D1B8A is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.176 H 315.1°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#6D1B8A
RGBrgb(109, 27, 138)
HSLhsl(284, 67%, 32%)
HSVhsv(284, 80%, 54%)
CMYKcmyk(21%, 80.4%, 0%, 45.9%)
CIE-LABlab(29.08, 51.43, -44.05)
CIE-LCHlch(29.08, 67.71, 319.42°)
OKLaboklab(41.17% 0.125 -0.1243)
OKLCHoklch(41.17% 0.176 315.1)
XYZxyz(11.2853, 5.8705, 24.5785)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1B8A #388A1B
analogous
#351B8A #6D1B8A #8A1B70
triadic
#6D1B8A #8A6D1B #1B8A6D
tetradic
#6D1B8A #8A351B #388A1B #1B708A
square
#6D1B8A #8A351B #388A1B #1B708A
split-complementary
#6D1B8A #708A1B #1B8A35
monochromatic
#1C0724 #451157 #6D1B8A #9525BD #B345DB

Accessibility & contrast

On white

9.66
#6D1B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6D1B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1B8A
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1B8A#FFFFFF#000000##FFFFFF
##6D1B8A1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#154788
Tritanopia (blue-blind)
#6B3553
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6d1b8a;
/* rgb */ color: rgb(109, 27, 138);
/* oklch */ color: oklch(41.2% 0.176 315.1);
Tailwind
colors: {
  custom: {
    50: '#9b62ad',
    500: '#6d1b8a',
    950: '#000000',
  },
}
SCSS
$custom: #6d1b8a;
$custom-light: #9b62ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1b8a",
  "rgb": {
    "r": 109,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 284.324,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41173,
    "c": 0.17631,
    "h": 315.1
  },
  "luminance": 0.0587
}

Semantic roles & 50–950 ramp

primary
#6D1B8A
secondary
#64BC45
accent
#EA3E6B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6D1B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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