#6B1174#6B1174

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

Color values

HEX#6B1174
RGBrgb(107, 17, 116)
HSLhsl(295, 74%, 26%)
HSVhsv(295, 85%, 45%)
CMYKcmyk(7.8%, 85.3%, 0%, 54.5%)
CIE-LABlab(26.12, 49.79, -34.96)
CIE-LCHlch(26.12, 60.84, 324.93°)
OKLaboklab(38.52% 0.1338 -0.0977)
OKLCHoklch(38.52% 0.166 323.9)
XYZxyz(9.4160, 4.7883, 16.9479)
Luminance0.0479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1174 #1A7411
analogous
#391174 #6B1174 #74114B
triadic
#6B1174 #746B11 #11746B
tetradic
#6B1174 #743911 #1A7411 #114B74
square
#6B1174 #743911 #1A7411 #114B74
split-complementary
#6B1174 #4B7411 #117439
monochromatic
#19041B #3A093F #6B1174 #9C19A9 #CD21DE

Accessibility & contrast

On white

10.73
#6B1174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#6B1174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1174
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1174#FFFFFF#000000##FFFFFF
##6B11741.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#264172
Tritanopia (blue-blind)
#6D2644
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6b1174;
/* rgb */ color: rgb(107, 17, 116);
/* oklch */ color: oklch(38.5% 0.166 323.9);
Tailwind
colors: {
  custom: {
    50: '#995d9c',
    500: '#6b1174',
    950: '#000000',
  },
}
SCSS
$custom: #6b1174;
$custom-light: #995d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1174",
  "rgb": {
    "r": 107,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 294.545,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38522,
    "c": 0.16568,
    "h": 323.9
  },
  "luminance": 0.04788
}

Semantic roles & 50–950 ramp

primary
#6B1174
secondary
#40AB36
accent
#F13748
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6B1174

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

Preview Lab → · Contrast checker → · Palette generator →

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