#6A175D#6A175D

#6A175D is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.3% C 0.141 H 335.3°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#6A175D
RGBrgb(106, 23, 93)
HSLhsl(309, 64%, 25%)
HSVhsv(309, 78%, 42%)
CMYKcmyk(0%, 78.3%, 12.3%, 58.4%)
CIE-LABlab(25.16, 43.75, -21.56)
CIE-LCHlch(25.16, 48.77, 333.76°)
OKLaboklab(37.35% 0.1278 -0.0589)
OKLCHoklch(37.35% 0.141 335.3)
XYZxyz(8.2261, 4.4680, 10.7830)
Luminance0.0447 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A175D #176A24
analogous
#4E176A #6A175D #6A1733
triadic
#6A175D #5D6A17 #175D6A
tetradic
#6A175D #6A4E17 #176A24 #17336A
square
#6A175D #6A4E17 #176A24 #17336A
split-complementary
#6A175D #336A17 #176A4E
monochromatic
#190516 #380C31 #6A175D #9C2289 #CF2DB5

Accessibility & contrast

On white

11.09
#6A175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#6A175D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A175D
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A175D#FFFFFF#000000##FFFFFF
##6A175D1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17345F
Deuteranopia (green-blind)
#35405B
Tritanopia (blue-blind)
#701E38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6a175d;
/* rgb */ color: rgb(106, 23, 93);
/* oklch */ color: oklch(37.3% 0.141 335.3);
Tailwind
colors: {
  custom: {
    50: '#985e8b',
    500: '#6a175d',
    950: '#000000',
  },
}
SCSS
$custom: #6a175d;
$custom-light: #985e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a175d",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 309.398,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.37348,
    "c": 0.14072,
    "h": 335.3
  },
  "luminance": 0.04467
}

Semantic roles & 50–950 ramp

primary
#6A175D
secondary
#3DA04C
accent
#E75B40
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6A175D

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

Preview Lab → · Contrast checker → · Palette generator →

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