#6D165F#6D165F

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

Color values

HEX#6D165F
RGBrgb(109, 22, 95)
HSLhsl(310, 66%, 26%)
HSVhsv(310, 80%, 43%)
CMYKcmyk(0%, 79.8%, 12.8%, 57.3%)
CIE-LABlab(25.72, 45.16, -21.96)
CIE-LCHlch(25.72, 50.22, 334.06°)
OKLaboklab(37.89% 0.1322 -0.06)
OKLCHoklch(37.89% 0.145 335.6)
XYZxyz(8.6593, 4.6520, 11.2661)
Luminance0.0465 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D165F #166D24
analogous
#4F166D #6D165F #6D1633
triadic
#6D165F #5F6D16 #165F6D
tetradic
#6D165F #6D4F16 #166D24 #16336D
square
#6D165F #6D4F16 #166D24 #16336D
split-complementary
#6D165F #336D16 #166D4F
monochromatic
#190516 #3A0C33 #6D165F #A0208B #D32BB8

Accessibility & contrast

On white

10.88
#6D165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#6D165F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D165F
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D165F#FFFFFF#000000##FFFFFF
##6D165F1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163561
Deuteranopia (green-blind)
#36415D
Tritanopia (blue-blind)
#731D39
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6d165f;
/* rgb */ color: rgb(109, 22, 95);
/* oklch */ color: oklch(37.9% 0.145 335.6);
Tailwind
colors: {
  custom: {
    50: '#9a5e8c',
    500: '#6d165f',
    950: '#000000',
  },
}
SCSS
$custom: #6d165f;
$custom-light: #9a5e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6d165f",
  "rgb": {
    "r": 109,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 309.655,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.37891,
    "c": 0.14519,
    "h": 335.6
  },
  "luminance": 0.04651
}

Semantic roles & 50–950 ramp

primary
#6D165F
secondary
#3CA34C
accent
#E95A3E
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6D165F

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

Preview Lab → · Contrast checker → · Palette generator →

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