#6A1175#6A1175

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

Color values

HEX#6A1175
RGBrgb(106, 17, 117)
HSLhsl(293, 75%, 26%)
HSVhsv(293, 85%, 46%)
CMYKcmyk(9.4%, 85.5%, 0%, 54.1%)
CIE-LABlab(26.01, 49.77, -35.79)
CIE-LCHlch(26.01, 61.31, 324.28°)
OKLaboklab(38.43% 0.1325 -0.1002)
OKLCHoklch(38.43% 0.166 322.9)
XYZxyz(9.3549, 4.7500, 17.2503)
Luminance0.0475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1175 #1C7511
analogous
#381175 #6A1175 #75114E
triadic
#6A1175 #756A11 #11756A
tetradic
#6A1175 #753811 #1C7511 #114E75
square
#6A1175 #753811 #1C7511 #114E75
split-complementary
#6A1175 #4E7511 #117538
monochromatic
#18041B #3A0940 #6A1175 #9A19AA #CA22DF

Accessibility & contrast

On white

10.77
#6A1175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A1175
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1175#FFFFFF#000000##FFFFFF
##6A11751.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#234173
Tritanopia (blue-blind)
#6C2744
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6a1175;
/* rgb */ color: rgb(106, 17, 117);
/* oklch */ color: oklch(38.4% 0.166 322.9);
Tailwind
colors: {
  custom: {
    50: '#985d9d',
    500: '#6a1175',
    950: '#000000',
  },
}
SCSS
$custom: #6a1175;
$custom-light: #985d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1175",
  "rgb": {
    "r": 106,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 293.4,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3843,
    "c": 0.16608,
    "h": 322.9
  },
  "luminance": 0.04749
}

Semantic roles & 50–950 ramp

primary
#6A1175
secondary
#43AC36
accent
#F1374B
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6A1175

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

Preview Lab → · Contrast checker → · Palette generator →

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