#6A1174#6A1174

#6A1174 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.4% C 0.165 H 323.4°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#6A1174
RGBrgb(106, 17, 116)
HSLhsl(294, 74%, 26%)
HSVhsv(294, 85%, 45%)
CMYKcmyk(8.6%, 85.3%, 0%, 54.5%)
CIE-LABlab(25.94, 49.59, -35.26)
CIE-LCHlch(25.94, 60.85, 324.59°)
OKLaboklab(38.36% 0.1326 -0.0986)
OKLCHoklch(38.36% 0.165 323.4)
XYZxyz(9.2964, 4.7266, 16.9423)
Luminance0.0473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1174 #1B7411
analogous
#381174 #6A1174 #74114C
triadic
#6A1174 #746A11 #11746A
tetradic
#6A1174 #743811 #1B7411 #114C74
square
#6A1174 #743811 #1B7411 #114C74
split-complementary
#6A1174 #4C7411 #117438
monochromatic
#18041B #39093F #6A1174 #9B19A9 #CB21DE

Accessibility & contrast

On white

10.80
#6A1174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A1174
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1174#FFFFFF#000000##FFFFFF
##6A11741.0010.801.9510.80
#FFFFFF10.801.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#244172
Tritanopia (blue-blind)
#6C2644
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6a1174;
/* rgb */ color: rgb(106, 17, 116);
/* oklch */ color: oklch(38.4% 0.165 323.4);
Tailwind
colors: {
  custom: {
    50: '#985d9c',
    500: '#6a1174',
    950: '#000000',
  },
}
SCSS
$custom: #6a1174;
$custom-light: #985d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1174",
  "rgb": {
    "r": 106,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 293.939,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3836,
    "c": 0.16526,
    "h": 323.4
  },
  "luminance": 0.04726
}

Semantic roles & 50–950 ramp

primary
#6A1174
secondary
#42AB36
accent
#F1374A
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6A1174

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

Preview Lab → · Contrast checker → · Palette generator →

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