#6B175F#6B175F

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

Color values

HEX#6B175F
RGBrgb(107, 23, 95)
HSLhsl(309, 65%, 25%)
HSVhsv(309, 79%, 42%)
CMYKcmyk(0%, 78.5%, 11.2%, 58%)
CIE-LABlab(25.46, 44.32, -22.40)
CIE-LCHlch(25.46, 49.66, 333.19°)
OKLaboklab(37.63% 0.1291 -0.0613)
OKLCHoklch(37.63% 0.143 334.6)
XYZxyz(8.4355, 4.5656, 11.2612)
Luminance0.0457 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B175F #176B23
analogous
#4D176B #6B175F #6B1735
triadic
#6B175F #5F6B17 #175F6B
tetradic
#6B175F #6B4D17 #176B23 #17356B
square
#6B175F #6B4D17 #176B23 #17356B
split-complementary
#6B175F #356B17 #176B4D
monochromatic
#190516 #390C32 #6B175F #9D228C #D02DB8

Accessibility & contrast

On white

10.98
#6B175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B175F
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B175F#FFFFFF#000000##FFFFFF
##6B175F1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163461
Deuteranopia (green-blind)
#35415D
Tritanopia (blue-blind)
#701E39
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6b175f;
/* rgb */ color: rgb(107, 23, 95);
/* oklch */ color: oklch(37.6% 0.143 334.6);
Tailwind
colors: {
  custom: {
    50: '#985e8c',
    500: '#6b175f',
    950: '#000000',
  },
}
SCSS
$custom: #6b175f;
$custom-light: #985e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b175f",
  "rgb": {
    "r": 107,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 308.571,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.37633,
    "c": 0.14287,
    "h": 334.6
  },
  "luminance": 0.04565
}

Semantic roles & 50–950 ramp

primary
#6B175F
secondary
#3DA14B
accent
#E85840
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6B175F

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

Preview Lab → · Contrast checker → · Palette generator →

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