#6F1B85#6F1B85

#6F1B85 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.173 H 318.1°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#6F1B85
RGBrgb(111, 27, 133)
HSLhsl(288, 66%, 31%)
HSVhsv(288, 80%, 52%)
CMYKcmyk(16.5%, 79.7%, 0%, 47.8%)
CIE-LABlab(29.05, 50.81, -40.97)
CIE-LCHlch(29.05, 65.27, 321.12°)
OKLaboklab(41.1% 0.1284 -0.1152)
OKLCHoklch(41.1% 0.173 318.1)
XYZxyz(11.1805, 5.8573, 22.7274)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1B85 #31851B
analogous
#3A1B85 #6F1B85 #851B66
triadic
#6F1B85 #856F1B #1B856F
tetradic
#6F1B85 #853A1B #31851B #1B6685
square
#6F1B85 #853A1B #31851B #1B6685
split-complementary
#6F1B85 #66851B #1B853A
monochromatic
#1A061F #451152 #6F1B85 #9925B8 #B942D9

Accessibility & contrast

On white

9.67
#6F1B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6F1B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1B85
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1B85#FFFFFF#000000##FFFFFF
##6F1B851.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#204783
Tritanopia (blue-blind)
#6E3250
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6f1b85;
/* rgb */ color: rgb(111, 27, 133);
/* oklch */ color: oklch(41.1% 0.173 318.1);
Tailwind
colors: {
  custom: {
    50: '#9c62a9',
    500: '#6f1b85',
    950: '#000000',
  },
}
SCSS
$custom: #6f1b85;
$custom-light: #9c62a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1b85",
  "rgb": {
    "r": 111,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 287.547,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.411,
    "c": 0.17255,
    "h": 318.1
  },
  "luminance": 0.05857
}

Semantic roles & 50–950 ramp

primary
#6F1B85
secondary
#5CB844
accent
#E93F62
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F1B85

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

Preview Lab → · Contrast checker → · Palette generator →

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