#6B1161#6B1161

#6B1161 is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.3% C 0.151 H 333.4°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#6B1161
RGBrgb(107, 17, 97)
HSLhsl(307, 73%, 24%)
HSVhsv(307, 84%, 42%)
CMYKcmyk(0%, 84.1%, 9.3%, 58%)
CIE-LABlab(24.92, 46.52, -24.56)
CIE-LCHlch(24.92, 52.60, 332.17°)
OKLaboklab(37.29% 0.1347 -0.0675)
OKLCHoklch(37.29% 0.151 333.4)
XYZxyz(8.4216, 4.3905, 11.7109)
Luminance0.0439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1161 #116B1B
analogous
#48116B #6B1161 #6B1134
triadic
#6B1161 #616B11 #11616B
tetradic
#6B1161 #6B4811 #116B1B #11346B
square
#6B1161 #6B4811 #116B1B #11346B
split-complementary
#6B1161 #346B11 #116B48
monochromatic
#1A0418 #360931 #6B1161 #A01991 #D522C1

Accessibility & contrast

On white

11.18
#6B1161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#6B1161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1161
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1161#FFFFFF#000000##FFFFFF
##6B11611.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3363
Deuteranopia (green-blind)
#32405F
Tritanopia (blue-blind)
#701C39
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6b1161;
/* rgb */ color: rgb(107, 17, 97);
/* oklch */ color: oklch(37.3% 0.151 333.4);
Tailwind
colors: {
  custom: {
    50: '#995c8e',
    500: '#6b1161',
    950: '#000000',
  },
}
SCSS
$custom: #6b1161;
$custom-light: #995c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1161",
  "rgb": {
    "r": 107,
    "g": 17,
    "b": 97
  },
  "hsl": {
    "h": 306.667,
    "s": 72.581,
    "l": 24.314
  },
  "oklch": {
    "l": 0.37285,
    "c": 0.15061,
    "h": 333.4
  },
  "luminance": 0.0439
}

Semantic roles & 50–950 ramp

primary
#6B1161
secondary
#35A341
accent
#EF4D39
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6B1161

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

Preview Lab → · Contrast checker → · Palette generator →

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