#6B1C8F#6B1C8F

#6B1C8F is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.4% C 0.179 H 312.2°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#6B1C8F
RGBrgb(107, 28, 143)
HSLhsl(281, 67%, 34%)
HSVhsv(281, 80%, 56%)
CMYKcmyk(25.2%, 80.4%, 0%, 43.9%)
CIE-LABlab(29.26, 51.75, -46.88)
CIE-LCHlch(29.26, 69.82, 317.83°)
OKLaboklab(41.35% 0.1205 -0.1327)
OKLCHoklch(41.35% 0.179 312.2)
XYZxyz(11.4357, 5.9398, 26.5254)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1C8F #408F1C
analogous
#311C8F #6B1C8F #8F1C79
triadic
#6B1C8F #8F6B1C #1C8F6B
tetradic
#6B1C8F #8F311C #408F1C #1C798F
square
#6B1C8F #8F311C #408F1C #1C798F
split-complementary
#6B1C8F #798F1C #1C8F31
monochromatic
#1E0829 #45125C #6B1C8F #9126C2 #AE4ADC

Accessibility & contrast

On white

9.60
#6B1C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6B1C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1C8F
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1C8F#FFFFFF#000000##FFFFFF
##6B1C8F1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#05468D
Tritanopia (blue-blind)
#673856
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b1c8f;
/* rgb */ color: rgb(107, 28, 143);
/* oklch */ color: oklch(41.4% 0.179 312.2);
Tailwind
colors: {
  custom: {
    50: '#9a62b1',
    500: '#6b1c8f',
    950: '#000000',
  },
}
SCSS
$custom: #6b1c8f;
$custom-light: #9a62b1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1c8f",
  "rgb": {
    "r": 107,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 281.217,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41352,
    "c": 0.17925,
    "h": 312.2
  },
  "luminance": 0.05939
}

Semantic roles & 50–950 ramp

primary
#6B1C8F
secondary
#6EBE49
accent
#EA3E74
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B1C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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