#6F1C82#6F1C82

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

Color values

HEX#6F1C82
RGBrgb(111, 28, 130)
HSLhsl(289, 65%, 31%)
HSVhsv(289, 78%, 51%)
CMYKcmyk(14.6%, 78.5%, 0%, 49%)
CIE-LABlab(28.96, 49.87, -39.23)
CIE-LCHlch(28.96, 63.45, 321.81°)
OKLaboklab(40.97% 0.1279 -0.1102)
OKLCHoklch(40.97% 0.169 319.3)
XYZxyz(10.9995, 5.8223, 21.6592)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1C82 #2F821C
analogous
#3C1C82 #6F1C82 #821C62
triadic
#6F1C82 #826F1C #1C826F
tetradic
#6F1C82 #823C1C #2F821C #1C6282
square
#6F1C82 #823C1C #2F821C #1C6282
split-complementary
#6F1C82 #62821C #1C823C
monochromatic
#19061D #441150 #6F1C82 #9A27B4 #BB42D6

Accessibility & contrast

On white

9.70
#6F1C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6F1C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1C82
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1C82#FFFFFF#000000##FFFFFF
##6F1C821.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#244780
Tritanopia (blue-blind)
#6F314E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6f1c82;
/* rgb */ color: rgb(111, 28, 130);
/* oklch */ color: oklch(41.0% 0.169 319.3);
Tailwind
colors: {
  custom: {
    50: '#9c62a7',
    500: '#6f1c82',
    950: '#000000',
  },
}
SCSS
$custom: #6f1c82;
$custom-light: #9c62a7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1c82",
  "rgb": {
    "r": 111,
    "g": 28,
    "b": 130
  },
  "hsl": {
    "h": 288.824,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4097,
    "c": 0.16883,
    "h": 319.3
  },
  "luminance": 0.05822
}

Semantic roles & 50–950 ramp

primary
#6F1C82
secondary
#59B544
accent
#E8405F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #6F1C82

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

Preview Lab → · Contrast checker → · Palette generator →

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