#6B175E#6B175E

#6B175E is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.6% C 0.142 H 335.2°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#6B175E
RGBrgb(107, 23, 94)
HSLhsl(309, 65%, 25%)
HSVhsv(309, 79%, 42%)
CMYKcmyk(0%, 78.5%, 12.1%, 58%)
CIE-LABlab(25.40, 44.16, -21.83)
CIE-LCHlch(25.40, 49.26, 333.70°)
OKLaboklab(37.58% 0.129 -0.0596)
OKLCHoklch(37.58% 0.142 335.2)
XYZxyz(8.3903, 4.5475, 11.0234)
Luminance0.0455 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B175E #176B24
analogous
#4E176B #6B175E #6B1734
triadic
#6B175E #5E6B17 #175E6B
tetradic
#6B175E #6B4E17 #176B24 #17346B
square
#6B175E #6B4E17 #176B24 #17346B
split-complementary
#6B175E #346B17 #176B4E
monochromatic
#190516 #390C32 #6B175E #9D228A #D02DB7

Accessibility & contrast

On white

11.00
#6B175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#6B175E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B175E
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B175E#FFFFFF#000000##FFFFFF
##6B175E1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173460
Deuteranopia (green-blind)
#35415C
Tritanopia (blue-blind)
#711E39
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6b175e;
/* rgb */ color: rgb(107, 23, 94);
/* oklch */ color: oklch(37.6% 0.142 335.2);
Tailwind
colors: {
  custom: {
    50: '#985e8c',
    500: '#6b175e',
    950: '#000000',
  },
}
SCSS
$custom: #6b175e;
$custom-light: #985e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b175e",
  "rgb": {
    "r": 107,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 309.286,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.37576,
    "c": 0.14211,
    "h": 335.2
  },
  "luminance": 0.04547
}

Semantic roles & 50–950 ramp

primary
#6B175E
secondary
#3DA14C
accent
#E85A40
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6B175E

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

Preview Lab → · Contrast checker → · Palette generator →

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