#6F1C88#6F1C88

#6F1C88 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.174 H 316.8°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#6F1C88
RGBrgb(111, 28, 136)
HSLhsl(286, 66%, 32%)
HSVhsv(286, 79%, 53%)
CMYKcmyk(18.4%, 79.4%, 0%, 46.7%)
CIE-LABlab(29.38, 51.07, -42.30)
CIE-LCHlch(29.38, 66.31, 320.36°)
OKLaboklab(41.4% 0.1271 -0.1192)
OKLCHoklch(41.4% 0.174 316.8)
XYZxyz(11.4141, 5.9881, 23.8424)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1C88 #35881C
analogous
#391C88 #6F1C88 #881C6B
triadic
#6F1C88 #886F1C #1C886F
tetradic
#6F1C88 #88391C #35881C #1C6B88
square
#6F1C88 #88391C #35881C #1C6B88
split-complementary
#6F1C88 #6B881C #1C8839
monochromatic
#1C0722 #461255 #6F1C88 #9826BB #B746D9

Accessibility & contrast

On white

9.56
#6F1C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6F1C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1C88
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1C88#FFFFFF#000000##FFFFFF
##6F1C881.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#1D4886
Tritanopia (blue-blind)
#6E3452
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f1c88;
/* rgb */ color: rgb(111, 28, 136);
/* oklch */ color: oklch(41.4% 0.174 316.8);
Tailwind
colors: {
  custom: {
    50: '#9c63ab',
    500: '#6f1c88',
    950: '#000000',
  },
}
SCSS
$custom: #6f1c88;
$custom-light: #9c63ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1c88",
  "rgb": {
    "r": 111,
    "g": 28,
    "b": 136
  },
  "hsl": {
    "h": 286.111,
    "s": 65.854,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41403,
    "c": 0.17422,
    "h": 316.8
  },
  "luminance": 0.05988
}

Semantic roles & 50–950 ramp

primary
#6F1C88
secondary
#60BA45
accent
#E93F66
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F1C88

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

Preview Lab → · Contrast checker → · Palette generator →

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