#6F1B8B#6F1B8B

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

Color values

HEX#6F1B8B
RGBrgb(111, 27, 139)
HSLhsl(285, 67%, 33%)
HSVhsv(285, 81%, 55%)
CMYKcmyk(20.1%, 80.6%, 0%, 45.5%)
CIE-LABlab(29.48, 52.02, -44.01)
CIE-LCHlch(29.48, 68.13, 319.77°)
OKLaboklab(41.54% 0.1274 -0.1242)
OKLCHoklch(41.54% 0.178 315.7)
XYZxyz(11.6069, 6.0279, 24.9732)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1B8B #378B1B
analogous
#371B8B #6F1B8B #8B1B6F
triadic
#6F1B8B #8B6F1B #1B8B6F
tetradic
#6F1B8B #8B371B #378B1B #1B6F8B
square
#6F1B8B #8B371B #378B1B #1B6F8B
split-complementary
#6F1B8B #6F8B1B #1B8B37
monochromatic
#1D0725 #461158 #6F1B8B #9825BE #B645DB

Accessibility & contrast

On white

9.52
#6F1B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6F1B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1B8B
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1B8B#FFFFFF#000000##FFFFFF
##6F1B8B1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#184889
Tritanopia (blue-blind)
#6D3553
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f1b8b;
/* rgb */ color: rgb(111, 27, 139);
/* oklch */ color: oklch(41.5% 0.178 315.7);
Tailwind
colors: {
  custom: {
    50: '#9c62ae',
    500: '#6f1b8b',
    950: '#000000',
  },
}
SCSS
$custom: #6f1b8b;
$custom-light: #9c62ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1b8b",
  "rgb": {
    "r": 111,
    "g": 27,
    "b": 139
  },
  "hsl": {
    "h": 285,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41543,
    "c": 0.17793,
    "h": 315.7
  },
  "luminance": 0.06027
}

Semantic roles & 50–950 ramp

primary
#6F1B8B
secondary
#63BC45
accent
#EA3D69
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #6F1B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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