#6F1B8A#6F1B8A

#6F1B8A is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.177 H 316.1°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#6F1B8A
RGBrgb(111, 27, 138)
HSLhsl(285, 67%, 32%)
HSVhsv(285, 80%, 54%)
CMYKcmyk(19.6%, 80.4%, 0%, 45.9%)
CIE-LABlab(29.41, 51.81, -43.50)
CIE-LCHlch(29.41, 67.66, 319.98°)
OKLaboklab(41.47% 0.1276 -0.1227)
OKLCHoklch(41.47% 0.177 316.1)
XYZxyz(11.5342, 5.9988, 24.5901)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1B8A #368A1B
analogous
#371B8A #6F1B8A #8A1B6E
triadic
#6F1B8A #8A6F1B #1B8A6F
tetradic
#6F1B8A #8A371B #368A1B #1B6E8A
square
#6F1B8A #8A371B #368A1B #1B6E8A
split-complementary
#6F1B8A #6E8A1B #1B8A37
monochromatic
#1D0724 #461157 #6F1B8A #9825BD #B645DB

Accessibility & contrast

On white

9.55
#6F1B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F1B8A
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1B8A#FFFFFF#000000##FFFFFF
##6F1B8A1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#194888
Tritanopia (blue-blind)
#6D3553
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f1b8a;
/* rgb */ color: rgb(111, 27, 138);
/* oklch */ color: oklch(41.5% 0.177 316.1);
Tailwind
colors: {
  custom: {
    50: '#9c62ad',
    500: '#6f1b8a',
    950: '#000000',
  },
}
SCSS
$custom: #6f1b8a;
$custom-light: #9c62ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1b8a",
  "rgb": {
    "r": 111,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 285.405,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41468,
    "c": 0.17703,
    "h": 316.1
  },
  "luminance": 0.05998
}

Semantic roles & 50–950 ramp

primary
#6F1B8A
secondary
#62BC45
accent
#EA3E68
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #6F1B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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