#6D175F#6D175F

#6D175F is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.0% C 0.144 H 335.6°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#6D175F
RGBrgb(109, 23, 95)
HSLhsl(310, 65%, 26%)
HSVhsv(310, 79%, 43%)
CMYKcmyk(0%, 78.9%, 12.8%, 57.3%)
CIE-LABlab(25.84, 44.83, -21.78)
CIE-LCHlch(25.84, 49.84, 334.09°)
OKLaboklab(37.97% 0.1312 -0.0595)
OKLCHoklch(37.97% 0.144 335.6)
XYZxyz(8.6788, 4.6910, 11.2726)
Luminance0.0469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D175F #176D25
analogous
#50176D #6D175F #6D1734
triadic
#6D175F #5F6D17 #175F6D
tetradic
#6D175F #6D5017 #176D25 #17346D
square
#6D175F #6D5017 #176D25 #17346D
split-complementary
#6D175F #346D17 #176D50
monochromatic
#190516 #3A0C33 #6D175F #A0228B #D22CB7

Accessibility & contrast

On white

10.84
#6D175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#6D175F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D175F
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D175F#FFFFFF#000000##FFFFFF
##6D175F1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183561
Deuteranopia (green-blind)
#36425D
Tritanopia (blue-blind)
#731E39
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6d175f;
/* rgb */ color: rgb(109, 23, 95);
/* oklch */ color: oklch(38.0% 0.144 335.6);
Tailwind
colors: {
  custom: {
    50: '#9a5e8c',
    500: '#6d175f',
    950: '#000000',
  },
}
SCSS
$custom: #6d175f;
$custom-light: #9a5e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6d175f",
  "rgb": {
    "r": 109,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 309.767,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.37975,
    "c": 0.14408,
    "h": 335.6
  },
  "luminance": 0.0469
}

Semantic roles & 50–950 ramp

primary
#6D175F
secondary
#3DA34D
accent
#E85B40
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6D175F

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

Preview Lab → · Contrast checker → · Palette generator →

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