#6F1A8B#6F1A8B

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

Color values

HEX#6F1A8B
RGBrgb(111, 26, 139)
HSLhsl(285, 68%, 32%)
HSVhsv(285, 81%, 55%)
CMYKcmyk(20.1%, 81.3%, 0%, 45.5%)
CIE-LABlab(29.37, 52.35, -44.19)
CIE-LCHlch(29.37, 68.50, 319.83°)
OKLaboklab(41.46% 0.1283 -0.1247)
OKLCHoklch(41.46% 0.179 315.8)
XYZxyz(11.5844, 5.9828, 24.9657)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1A8B #368B1A
analogous
#371A8B #6F1A8B #8B1A6E
triadic
#6F1A8B #8B6F1A #1A8B6F
tetradic
#6F1A8B #8B371A #368B1A #1A6E8B
square
#6F1A8B #8B371A #368B1A #1A6E8B
split-complementary
#6F1A8B #6E8B1A #1A8B37
monochromatic
#1D0724 #461057 #6F1A8B #9824BF #B643DC

Accessibility & contrast

On white

9.56
#6F1A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F1A8B
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1A8B#FFFFFF#000000##FFFFFF
##6F1A8B1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f1a8b;
/* rgb */ color: rgb(111, 26, 139);
/* oklch */ color: oklch(41.5% 0.179 315.8);
Tailwind
colors: {
  custom: {
    50: '#9c62ae',
    500: '#6f1a8b',
    950: '#000000',
  },
}
SCSS
$custom: #6f1a8b;
$custom-light: #9c62ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1a8b",
  "rgb": {
    "r": 111,
    "g": 26,
    "b": 139
  },
  "hsl": {
    "h": 285.133,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41463,
    "c": 0.17889,
    "h": 315.8
  },
  "luminance": 0.05982
}

Semantic roles & 50–950 ramp

primary
#6F1A8B
secondary
#62BD44
accent
#EB3C68
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #6F1A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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