#6D165E#6D165E

#6D165E is a dark, vivid pink. Relative luminance 0.046; OKLCH L 37.8% C 0.144 H 336.2°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#6D165E
RGBrgb(109, 22, 94)
HSLhsl(310, 66%, 26%)
HSVhsv(310, 80%, 43%)
CMYKcmyk(0%, 79.8%, 13.8%, 57.3%)
CIE-LABlab(25.67, 45.00, -21.39)
CIE-LCHlch(25.67, 49.82, 334.58°)
OKLaboklab(37.84% 0.1321 -0.0583)
OKLCHoklch(37.84% 0.144 336.2)
XYZxyz(8.6141, 4.6340, 11.0283)
Luminance0.0463 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D165E #166D25
analogous
#50166D #6D165E #6D1632
triadic
#6D165E #5E6D16 #165E6D
tetradic
#6D165E #6D5016 #166D25 #16326D
square
#6D165E #6D5016 #166D25 #16326D
split-complementary
#6D165E #326D16 #166D50
monochromatic
#190516 #3A0C32 #6D165E #A0208A #D32BB6

Accessibility & contrast

On white

10.90
#6D165E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D165E
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D165E#FFFFFF#000000##FFFFFF
##6D165E1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173460
Deuteranopia (green-blind)
#37415C
Tritanopia (blue-blind)
#731D39
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6d165e;
/* rgb */ color: rgb(109, 22, 94);
/* oklch */ color: oklch(37.8% 0.144 336.2);
Tailwind
colors: {
  custom: {
    50: '#9a5e8c',
    500: '#6d165e',
    950: '#000000',
  },
}
SCSS
$custom: #6d165e;
$custom-light: #9a5e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6d165e",
  "rgb": {
    "r": 109,
    "g": 22,
    "b": 94
  },
  "hsl": {
    "h": 310.345,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.37835,
    "c": 0.14444,
    "h": 336.2
  },
  "luminance": 0.04633
}

Semantic roles & 50–950 ramp

primary
#6D165E
secondary
#3CA34D
accent
#E95C3E
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6D165E

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

Preview Lab → · Contrast checker → · Palette generator →

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