#6C175E#6C175E

#6C175E is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.7% C 0.143 H 335.7°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#6C175E
RGBrgb(108, 23, 94)
HSLhsl(310, 65%, 26%)
HSVhsv(310, 79%, 42%)
CMYKcmyk(0%, 78.7%, 13%, 57.6%)
CIE-LABlab(25.59, 44.41, -21.52)
CIE-LCHlch(25.59, 49.35, 334.15°)
OKLaboklab(37.75% 0.1301 -0.0587)
OKLCHoklch(37.75% 0.143 335.7)
XYZxyz(8.5112, 4.6099, 11.0290)
Luminance0.0461 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C175E #176C25
analogous
#4F176C #6C175E #6C1734
triadic
#6C175E #5E6C17 #175E6C
tetradic
#6C175E #6C4F17 #176C25 #17346C
square
#6C175E #6C4F17 #176C25 #17346C
split-complementary
#6C175E #346C17 #176C4F
monochromatic
#190516 #3A0C32 #6C175E #9E228A #D12CB6

Accessibility & contrast

On white

10.93
#6C175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#6C175E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C175E
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C175E#FFFFFF#000000##FFFFFF
##6C175E1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183560
Deuteranopia (green-blind)
#36415C
Tritanopia (blue-blind)
#721E39
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6c175e;
/* rgb */ color: rgb(108, 23, 94);
/* oklch */ color: oklch(37.7% 0.143 335.7);
Tailwind
colors: {
  custom: {
    50: '#995e8c',
    500: '#6c175e',
    950: '#000000',
  },
}
SCSS
$custom: #6c175e;
$custom-light: #995e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c175e",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 309.882,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.37747,
    "c": 0.14271,
    "h": 335.7
  },
  "luminance": 0.04609
}

Semantic roles & 50–950 ramp

primary
#6C175E
secondary
#3DA24D
accent
#E85C40
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6C175E

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

Preview Lab → · Contrast checker → · Palette generator →

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