#6F1C83#6F1C83

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

Color values

HEX#6F1C83
RGBrgb(111, 28, 131)
HSLhsl(288, 65%, 31%)
HSVhsv(288, 79%, 51%)
CMYKcmyk(15.3%, 78.6%, 0%, 48.6%)
CIE-LABlab(29.03, 50.07, -39.75)
CIE-LCHlch(29.03, 63.93, 321.55°)
OKLaboklab(41.04% 0.1278 -0.1117)
OKLCHoklch(41.04% 0.17 318.9)
XYZxyz(11.0670, 5.8492, 22.0144)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1C83 #30831C
analogous
#3B1C83 #6F1C83 #831C63
triadic
#6F1C83 #836F1C #1C836F
tetradic
#6F1C83 #833B1C #30831C #1C6383
square
#6F1C83 #833B1C #30831C #1C6383
split-complementary
#6F1C83 #63831C #1C833B
monochromatic
#1A061E #441151 #6F1C83 #9A27B5 #BA43D7

Accessibility & contrast

On white

9.68
#6F1C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6F1C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1C83
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1C83#FFFFFF#000000##FFFFFF
##6F1C831.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#234781
Tritanopia (blue-blind)
#6F324F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6f1c83;
/* rgb */ color: rgb(111, 28, 131);
/* oklch */ color: oklch(41.0% 0.170 318.9);
Tailwind
colors: {
  custom: {
    50: '#9c62a8',
    500: '#6f1c83',
    950: '#000000',
  },
}
SCSS
$custom: #6f1c83;
$custom-light: #9c62a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1c83",
  "rgb": {
    "r": 111,
    "g": 28,
    "b": 131
  },
  "hsl": {
    "h": 288.35,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41041,
    "c": 0.16972,
    "h": 318.9
  },
  "luminance": 0.05849
}

Semantic roles & 50–950 ramp

primary
#6F1C83
secondary
#5BB645
accent
#E84061
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #6F1C83

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

Preview Lab → · Contrast checker → · Palette generator →

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