#6B1C87#6B1C87

#6B1C87 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.172 H 315.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#6B1C87
RGBrgb(107, 28, 135)
HSLhsl(284, 66%, 32%)
HSVhsv(284, 79%, 53%)
CMYKcmyk(20.7%, 79.3%, 0%, 47.1%)
CIE-LABlab(28.66, 50.07, -42.88)
CIE-LCHlch(28.66, 65.92, 319.42°)
OKLaboklab(40.74% 0.122 -0.121)
OKLCHoklch(40.74% 0.172 315.2)
XYZxyz(10.8511, 5.7060, 23.4467)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1C87 #38871C
analogous
#361C87 #6B1C87 #871C6E
triadic
#6B1C87 #876B1C #1C876B
tetradic
#6B1C87 #87361C #38871C #1C6E87
square
#6B1C87 #87361C #38871C #1C6E87
split-complementary
#6B1C87 #6E871C #1C8736
monochromatic
#1B0722 #431154 #6B1C87 #9327BA #B245D8

Accessibility & contrast

On white

9.81
#6B1C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#6B1C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1C87
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1C87#FFFFFF#000000##FFFFFF
##6B1C871.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#174685
Tritanopia (blue-blind)
#693551
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6b1c87;
/* rgb */ color: rgb(107, 28, 135);
/* oklch */ color: oklch(40.7% 0.172 315.2);
Tailwind
colors: {
  custom: {
    50: '#9962ab',
    500: '#6b1c87',
    950: '#000000',
  },
}
SCSS
$custom: #6b1c87;
$custom-light: #9962ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1c87",
  "rgb": {
    "r": 107,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 284.299,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40739,
    "c": 0.17184,
    "h": 315.2
  },
  "luminance": 0.05706
}

Semantic roles & 50–950 ramp

primary
#6B1C87
secondary
#63BA45
accent
#E93F6C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B1C87

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

Preview Lab → · Contrast checker → · Palette generator →

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