#6F1C87#6F1C87

#6F1C87 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.173 H 317.2°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#6F1C87
RGBrgb(111, 28, 135)
HSLhsl(287, 66%, 32%)
HSVhsv(287, 79%, 53%)
CMYKcmyk(17.8%, 79.3%, 0%, 47.1%)
CIE-LABlab(29.31, 50.87, -41.79)
CIE-LCHlch(29.31, 65.83, 320.59°)
OKLaboklab(41.33% 0.1272 -0.1177)
OKLCHoklch(41.33% 0.173 317.2)
XYZxyz(11.3433, 5.9598, 23.4698)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1C87 #34871C
analogous
#3A1C87 #6F1C87 #871C6A
triadic
#6F1C87 #876F1C #1C876F
tetradic
#6F1C87 #873A1C #34871C #1C6A87
square
#6F1C87 #873A1C #34871C #1C6A87
split-complementary
#6F1C87 #6A871C #1C873A
monochromatic
#1C0722 #451154 #6F1C87 #9927BA #B745D8

Accessibility & contrast

On white

9.58
#6F1C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6F1C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1C87
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1C87#FFFFFF#000000##FFFFFF
##6F1C871.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#1E4785
Tritanopia (blue-blind)
#6E3451
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f1c87;
/* rgb */ color: rgb(111, 28, 135);
/* oklch */ color: oklch(41.3% 0.173 317.2);
Tailwind
colors: {
  custom: {
    50: '#9c63ab',
    500: '#6f1c87',
    950: '#000000',
  },
}
SCSS
$custom: #6f1c87;
$custom-light: #9c63ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1c87",
  "rgb": {
    "r": 111,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 286.542,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4133,
    "c": 0.17332,
    "h": 317.2
  },
  "luminance": 0.05959
}

Semantic roles & 50–950 ramp

primary
#6F1C87
secondary
#5FBA45
accent
#E93F65
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F1C87

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

Preview Lab → · Contrast checker → · Palette generator →

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