#6B1C8A#6B1C8A

#6B1C8A is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.175 H 314.1°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#6B1C8A
RGBrgb(107, 28, 138)
HSLhsl(283, 66%, 33%)
HSVhsv(283, 80%, 54%)
CMYKcmyk(22.5%, 79.7%, 0%, 45.9%)
CIE-LABlab(28.88, 50.69, -44.39)
CIE-LCHlch(28.88, 67.38, 318.79°)
OKLaboklab(40.97% 0.1215 -0.1254)
OKLCHoklch(40.97% 0.175 314.1)
XYZxyz(11.0653, 5.7917, 24.5748)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1C8A #3B8A1C
analogous
#341C8A #6B1C8A #8A1C72
triadic
#6B1C8A #8A6B1C #1C8A6B
tetradic
#6B1C8A #8A341C #3B8A1C #1C728A
square
#6B1C8A #8A341C #3B8A1C #1C728A
split-complementary
#6B1C8A #728A1C #1C8A34
monochromatic
#1C0724 #441257 #6B1C8A #9226BD #B047DA

Accessibility & contrast

On white

9.73
#6B1C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6B1C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1C8A
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1C8A#FFFFFF#000000##FFFFFF
##6B1C8A1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b1c8a;
/* rgb */ color: rgb(107, 28, 138);
/* oklch */ color: oklch(41.0% 0.175 314.1);
Tailwind
colors: {
  custom: {
    50: '#9962ad',
    500: '#6b1c8a',
    950: '#000000',
  },
}
SCSS
$custom: #6b1c8a;
$custom-light: #9962ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1c8a",
  "rgb": {
    "r": 107,
    "g": 28,
    "b": 138
  },
  "hsl": {
    "h": 283.091,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40966,
    "c": 0.17461,
    "h": 314.1
  },
  "luminance": 0.05791
}

Semantic roles & 50–950 ramp

primary
#6B1C8A
secondary
#67BB46
accent
#E93F6F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B1C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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