#6D1161#6D1161

#6D1161 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.6% C 0.152 H 334.4°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#6D1161
RGBrgb(109, 17, 97)
HSLhsl(308, 73%, 25%)
HSVhsv(308, 84%, 43%)
CMYKcmyk(0%, 84.4%, 11%, 57.3%)
CIE-LABlab(25.31, 46.98, -23.92)
CIE-LCHlch(25.31, 52.72, 333.01°)
OKLaboklab(37.63% 0.1368 -0.0656)
OKLCHoklch(37.63% 0.152 334.4)
XYZxyz(8.6649, 4.5160, 11.7223)
Luminance0.0452 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1161 #116D1D
analogous
#4B116D #6D1161 #6D1133
triadic
#6D1161 #616D11 #11616D
tetradic
#6D1161 #6D4B11 #116D1D #11336D
square
#6D1161 #6D4B11 #116D1D #11336D
split-complementary
#6D1161 #336D11 #116D4B
monochromatic
#1A0418 #380932 #6D1161 #A21990 #D722BF

Accessibility & contrast

On white

11.04
#6D1161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#6D1161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1161
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1161#FFFFFF#000000##FFFFFF
##6D11611.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3463
Deuteranopia (green-blind)
#34415F
Tritanopia (blue-blind)
#731B39
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6d1161;
/* rgb */ color: rgb(109, 17, 97);
/* oklch */ color: oklch(37.6% 0.152 334.4);
Tailwind
colors: {
  custom: {
    50: '#9a5c8e',
    500: '#6d1161',
    950: '#000000',
  },
}
SCSS
$custom: #6d1161;
$custom-light: #9a5c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1161",
  "rgb": {
    "r": 109,
    "g": 17,
    "b": 97
  },
  "hsl": {
    "h": 307.826,
    "s": 73.016,
    "l": 24.706
  },
  "oklch": {
    "l": 0.37633,
    "c": 0.1517,
    "h": 334.4
  },
  "luminance": 0.04515
}

Semantic roles & 50–950 ramp

primary
#6D1161
secondary
#35A544
accent
#F05038
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6D1161

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

Preview Lab → · Contrast checker → · Palette generator →

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