#6F1C8A#6F1C8A

#6F1C8A is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.6% C 0.176 H 316.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#6F1C8A
RGBrgb(111, 28, 138)
HSLhsl(285, 66%, 33%)
HSVhsv(285, 80%, 54%)
CMYKcmyk(19.6%, 79.7%, 0%, 45.9%)
CIE-LABlab(29.53, 51.47, -43.31)
CIE-LCHlch(29.53, 67.27, 319.92°)
OKLaboklab(41.55% 0.1268 -0.1221)
OKLCHoklch(41.55% 0.176 316.1)
XYZxyz(11.5575, 6.0455, 24.5979)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1C8A #378A1C
analogous
#381C8A #6F1C8A #8A1C6E
triadic
#6F1C8A #8A6F1C #1C8A6F
tetradic
#6F1C8A #8A381C #378A1C #1C6E8A
square
#6F1C8A #8A381C #378A1C #1C6E8A
split-complementary
#6F1C8A #6E8A1C #1C8A38
monochromatic
#1D0724 #461257 #6F1C8A #9826BD #B647DA

Accessibility & contrast

On white

9.51
#6F1C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6F1C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1C8A
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1C8A#FFFFFF#000000##FFFFFF
##6F1C8A1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#1A4888
Tritanopia (blue-blind)
#6D3553
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6f1c8a;
/* rgb */ color: rgb(111, 28, 138);
/* oklch */ color: oklch(41.6% 0.176 316.1);
Tailwind
colors: {
  custom: {
    50: '#9c63ad',
    500: '#6f1c8a',
    950: '#000000',
  },
}
SCSS
$custom: #6f1c8a;
$custom-light: #9c63ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1c8a",
  "rgb": {
    "r": 111,
    "g": 28,
    "b": 138
  },
  "hsl": {
    "h": 285.273,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41551,
    "c": 0.17603,
    "h": 316.1
  },
  "luminance": 0.06045
}

Semantic roles & 50–950 ramp

primary
#6F1C8A
secondary
#63BB46
accent
#E93F68
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #6F1C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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