#6B1D8A#6B1D8A

#6B1D8A is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.1% C 0.174 H 314.0°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#6B1D8A
RGBrgb(107, 29, 138)
HSLhsl(283, 65%, 33%)
HSVhsv(283, 79%, 54%)
CMYKcmyk(22.5%, 79%, 0%, 45.9%)
CIE-LABlab(29.00, 50.33, -44.19)
CIE-LCHlch(29.00, 66.98, 318.72°)
OKLaboklab(41.05% 0.1206 -0.1249)
OKLCHoklch(41.05% 0.174 314)
XYZxyz(11.0894, 5.8399, 24.5829)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1D8A #3C8A1D
analogous
#351D8A #6B1D8A #8A1D72
triadic
#6B1D8A #8A6B1D #1D8A6B
tetradic
#6B1D8A #8A351D #3C8A1D #1D728A
square
#6B1D8A #8A351D #3C8A1D #1D728A
split-complementary
#6B1D8A #728A1D #1D8A35
monochromatic
#1D0825 #441257 #6B1D8A #9228BD #B049D9

Accessibility & contrast

On white

9.69
#6B1D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1D8A
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1D8A#FFFFFF#000000##FFFFFF
##6B1D8A1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#134688
Tritanopia (blue-blind)
#683653
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6b1d8a;
/* rgb */ color: rgb(107, 29, 138);
/* oklch */ color: oklch(41.1% 0.174 314.0);
Tailwind
colors: {
  custom: {
    50: '#9963ad',
    500: '#6b1d8a',
    950: '#000000',
  },
}
SCSS
$custom: #6b1d8a;
$custom-light: #9963ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1d8a",
  "rgb": {
    "r": 107,
    "g": 29,
    "b": 138
  },
  "hsl": {
    "h": 282.936,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41053,
    "c": 0.17357,
    "h": 314
  },
  "luminance": 0.0584
}

Semantic roles & 50–950 ramp

primary
#6B1D8A
secondary
#69BB48
accent
#E84070
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B1D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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