#6B1173#6B1173

#6B1173 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.5% C 0.165 H 324.3°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#6B1173
RGBrgb(107, 17, 115)
HSLhsl(295, 74%, 26%)
HSVhsv(295, 85%, 45%)
CMYKcmyk(7%, 85.2%, 0%, 54.9%)
CIE-LABlab(26.05, 49.61, -34.43)
CIE-LCHlch(26.05, 60.38, 325.24°)
OKLaboklab(38.45% 0.1339 -0.0962)
OKLCHoklch(38.45% 0.165 324.3)
XYZxyz(9.3581, 4.7651, 16.6432)
Luminance0.0476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1173 #197311
analogous
#3A1173 #6B1173 #73114A
triadic
#6B1173 #736B11 #11736B
tetradic
#6B1173 #733A11 #197311 #114A73
square
#6B1173 #733A11 #197311 #114A73
split-complementary
#6B1173 #4A7311 #11733A
monochromatic
#19041B #39093E #6B1173 #9D19A8 #CE21DE

Accessibility & contrast

On white

10.75
#6B1173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#6B1173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1173
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1173#FFFFFF#000000##FFFFFF
##6B11731.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#264171
Tritanopia (blue-blind)
#6D2643
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6b1173;
/* rgb */ color: rgb(107, 17, 115);
/* oklch */ color: oklch(38.5% 0.165 324.3);
Tailwind
colors: {
  custom: {
    50: '#995d9c',
    500: '#6b1173',
    950: '#000000',
  },
}
SCSS
$custom: #6b1173;
$custom-light: #995d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1173",
  "rgb": {
    "r": 107,
    "g": 17,
    "b": 115
  },
  "hsl": {
    "h": 295.102,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38453,
    "c": 0.16486,
    "h": 324.3
  },
  "luminance": 0.04765
}

Semantic roles & 50–950 ramp

primary
#6B1173
secondary
#3FAA36
accent
#F13746
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6B1173

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

Preview Lab → · Contrast checker → · Palette generator →

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