#6F1B7C#6F1B7C

#6F1B7C is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.165 H 321.9°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#6F1B7C
RGBrgb(111, 27, 124)
HSLhsl(292, 64%, 30%)
HSVhsv(292, 78%, 49%)
CMYKcmyk(10.5%, 78.2%, 0%, 51.4%)
CIE-LABlab(28.43, 49.05, -36.31)
CIE-LCHlch(28.43, 61.02, 323.49°)
OKLaboklab(40.47% 0.1295 -0.1016)
OKLCHoklch(40.47% 0.165 321.9)
XYZxyz(10.5852, 5.6192, 19.5919)
Luminance0.0562 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1B7C #287C1B
analogous
#3F1B7C #6F1B7C #7C1B59
triadic
#6F1B7C #7C6F1B #1B7C6F
tetradic
#6F1B7C #7C3F1B #287C1B #1B597C
square
#6F1B7C #7C3F1B #287C1B #1B597C
split-complementary
#6F1B7C #597C1B #1B7C3F
monochromatic
#160519 #42104A #6F1B7C #9C26AE #C03DD5

Accessibility & contrast

On white

9.89
#6F1B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6F1B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1B7C
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1B7C#FFFFFF#000000##FFFFFF
##6F1B7C1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#29467A
Tritanopia (blue-blind)
#702E4B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6f1b7c;
/* rgb */ color: rgb(111, 27, 124);
/* oklch */ color: oklch(40.5% 0.165 321.9);
Tailwind
colors: {
  custom: {
    50: '#9c62a2',
    500: '#6f1b7c',
    950: '#000000',
  },
}
SCSS
$custom: #6f1b7c;
$custom-light: #9c62a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1b7c",
  "rgb": {
    "r": 111,
    "g": 27,
    "b": 124
  },
  "hsl": {
    "h": 291.959,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40465,
    "c": 0.1646,
    "h": 321.9
  },
  "luminance": 0.05619
}

Semantic roles & 50–950 ramp

primary
#6F1B7C
secondary
#51B043
accent
#E74157
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #6F1B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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