#6F1B82#6F1B82

#6F1B82 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.170 H 319.3°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#6F1B82
RGBrgb(111, 27, 130)
HSLhsl(289, 66%, 31%)
HSVhsv(289, 79%, 51%)
CMYKcmyk(14.6%, 79.2%, 0%, 49%)
CIE-LABlab(28.84, 50.21, -39.43)
CIE-LCHlch(28.84, 63.84, 321.86°)
OKLaboklab(40.89% 0.1288 -0.1107)
OKLCHoklch(40.89% 0.17 319.3)
XYZxyz(10.9762, 5.7756, 21.6514)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1B82 #2E821B
analogous
#3B1B82 #6F1B82 #821B61
triadic
#6F1B82 #826F1B #1B826F
tetradic
#6F1B82 #823B1B #2E821B #1B6182
square
#6F1B82 #823B1B #2E821B #1B6182
split-complementary
#6F1B82 #61821B #1B823B
monochromatic
#18061D #44104F #6F1B82 #9A26B5 #BB40D7

Accessibility & contrast

On white

9.74
#6F1B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6F1B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1B82
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1B82#FFFFFF#000000##FFFFFF
##6F1B821.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#234780
Tritanopia (blue-blind)
#6F314E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6f1b82;
/* rgb */ color: rgb(111, 27, 130);
/* oklch */ color: oklch(40.9% 0.170 319.3);
Tailwind
colors: {
  custom: {
    50: '#9c62a7',
    500: '#6f1b82',
    950: '#000000',
  },
}
SCSS
$custom: #6f1b82;
$custom-light: #9c62a7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1b82",
  "rgb": {
    "r": 111,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 288.932,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40885,
    "c": 0.16988,
    "h": 319.3
  },
  "luminance": 0.05775
}

Semantic roles & 50–950 ramp

primary
#6F1B82
secondary
#58B643
accent
#E93F5E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #6F1B82

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

Preview Lab → · Contrast checker → · Palette generator →

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