#6F1C8D#6F1C8D

#6F1C8D is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.8% C 0.179 H 314.9°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#6F1C8D
RGBrgb(111, 28, 141)
HSLhsl(284, 67%, 33%)
HSVhsv(284, 80%, 55%)
CMYKcmyk(21.3%, 80.1%, 0%, 44.7%)
CIE-LABlab(29.75, 52.09, -44.82)
CIE-LCHlch(29.75, 68.72, 319.29°)
OKLaboklab(41.78% 0.1262 -0.1266)
OKLCHoklch(41.78% 0.179 314.9)
XYZxyz(11.7777, 6.1335, 25.7576)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1C8D #3A8D1C
analogous
#361C8D #6F1C8D #8D1C72
triadic
#6F1C8D #8D6F1C #1C8D6F
tetradic
#6F1C8D #8D361C #3A8D1C #1C728D
square
#6F1C8D #8D361C #3A8D1C #1C728D
split-complementary
#6F1C8D #728D1C #1C8D36
monochromatic
#1F0827 #47125A #6F1C8D #9726C0 #B449DB

Accessibility & contrast

On white

9.43
#6F1C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6F1C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1C8D
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1C8D#FFFFFF#000000##FFFFFF
##6F1C8D1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#15488B
Tritanopia (blue-blind)
#6C3754
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6f1c8d;
/* rgb */ color: rgb(111, 28, 141);
/* oklch */ color: oklch(41.8% 0.179 314.9);
Tailwind
colors: {
  custom: {
    50: '#9c63af',
    500: '#6f1c8d',
    950: '#000000',
  },
}
SCSS
$custom: #6f1c8d;
$custom-light: #9c63af;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1c8d",
  "rgb": {
    "r": 111,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 284.071,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41775,
    "c": 0.17875,
    "h": 314.9
  },
  "luminance": 0.06133
}

Semantic roles & 50–950 ramp

primary
#6F1C8D
secondary
#67BD48
accent
#EA3E6C
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #6F1C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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