#6F1C8B#6F1C8B

#6F1C8B is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.177 H 315.7°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#6F1C8B
RGBrgb(111, 28, 139)
HSLhsl(285, 66%, 33%)
HSVhsv(285, 80%, 55%)
CMYKcmyk(20.1%, 79.9%, 0%, 45.5%)
CIE-LABlab(29.60, 51.68, -43.82)
CIE-LCHlch(29.60, 67.75, 319.71°)
OKLaboklab(41.63% 0.1266 -0.1236)
OKLCHoklch(41.63% 0.177 315.7)
XYZxyz(11.6303, 6.0746, 24.9810)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1C8B #388B1C
analogous
#381C8B #6F1C8B #8B1C6F
triadic
#6F1C8B #8B6F1C #1C8B6F
tetradic
#6F1C8B #8B381C #388B1C #1C6F8B
square
#6F1C8B #8B381C #388B1C #1C6F8B
split-complementary
#6F1C8B #6F8B1C #1C8B38
monochromatic
#1E0725 #461258 #6F1C8B #9826BE #B547DA

Accessibility & contrast

On white

9.48
#6F1C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F1C8B
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1C8B#FFFFFF#000000##FFFFFF
##6F1C8B1.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#194889
Tritanopia (blue-blind)
#6D3653
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6f1c8b;
/* rgb */ color: rgb(111, 28, 139);
/* oklch */ color: oklch(41.6% 0.177 315.7);
Tailwind
colors: {
  custom: {
    50: '#9c63ae',
    500: '#6f1c8b',
    950: '#000000',
  },
}
SCSS
$custom: #6f1c8b;
$custom-light: #9c63ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1c8b",
  "rgb": {
    "r": 111,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 284.865,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41625,
    "c": 0.17694,
    "h": 315.7
  },
  "luminance": 0.06074
}

Semantic roles & 50–950 ramp

primary
#6F1C8B
secondary
#64BC47
accent
#E93E6A
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #6F1C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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