#6F1B7D#6F1B7D

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

Color values

HEX#6F1B7D
RGBrgb(111, 27, 125)
HSLhsl(291, 64%, 30%)
HSVhsv(291, 78%, 49%)
CMYKcmyk(11.2%, 78.4%, 0%, 51%)
CIE-LABlab(28.50, 49.24, -36.83)
CIE-LCHlch(28.50, 61.49, 323.20°)
OKLaboklab(40.53% 0.1294 -0.1031)
OKLCHoklch(40.53% 0.165 321.4)
XYZxyz(10.6487, 5.6446, 19.9267)
Luminance0.0564 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1B7D #297D1B
analogous
#3E1B7D #6F1B7D #7D1B5A
triadic
#6F1B7D #7D6F1B #1B7D6F
tetradic
#6F1B7D #7D3E1B #297D1B #1B5A7D
square
#6F1B7D #7D3E1B #297D1B #1B5A7D
split-complementary
#6F1B7D #5A7D1B #1B7D3E
monochromatic
#160519 #42104B #6F1B7D #9C26AF #BF3DD5

Accessibility & contrast

On white

9.86
#6F1B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6F1B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1B7D
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1B7D#FFFFFF#000000##FFFFFF
##6F1B7D1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#28467B
Tritanopia (blue-blind)
#702F4B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6f1b7d;
/* rgb */ color: rgb(111, 27, 125);
/* oklch */ color: oklch(40.5% 0.165 321.4);
Tailwind
colors: {
  custom: {
    50: '#9c62a3',
    500: '#6f1b7d',
    950: '#000000',
  },
}
SCSS
$custom: #6f1b7d;
$custom-light: #9c62a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1b7d",
  "rgb": {
    "r": 111,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 291.429,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40534,
    "c": 0.16547,
    "h": 321.4
  },
  "luminance": 0.05644
}

Semantic roles & 50–950 ramp

primary
#6F1B7D
secondary
#53B143
accent
#E74058
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #6F1B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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