#6A165B#6A165B

#6A165B is a dark, vivid pink. Relative luminance 0.044; OKLCH L 37.1% C 0.140 H 336.4°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#6A165B
RGBrgb(106, 22, 91)
HSLhsl(311, 66%, 25%)
HSVhsv(311, 79%, 42%)
CMYKcmyk(0%, 79.2%, 14.2%, 58.4%)
CIE-LABlab(24.93, 43.77, -20.60)
CIE-LCHlch(24.93, 48.37, 334.79°)
OKLaboklab(37.15% 0.1286 -0.0561)
OKLCHoklch(37.15% 0.14 336.4)
XYZxyz(8.1192, 4.3941, 10.3160)
Luminance0.0439 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A165B #166A25
analogous
#4F166A #6A165B #6A1631
triadic
#6A165B #5B6A16 #165B6A
tetradic
#6A165B #6A4F16 #166A25 #16316A
square
#6A165B #6A4F16 #166A25 #16316A
split-complementary
#6A165B #316A16 #166A4F
monochromatic
#190516 #370B2F #6A165B #9D2187 #CF2BB2

Accessibility & contrast

On white

11.18
#6A165B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#6A165B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A165B
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A165B#FFFFFF#000000##FFFFFF
##6A165B1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18335D
Deuteranopia (green-blind)
#354059
Tritanopia (blue-blind)
#701C37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6a165b;
/* rgb */ color: rgb(106, 22, 91);
/* oklch */ color: oklch(37.1% 0.140 336.4);
Tailwind
colors: {
  custom: {
    50: '#985d89',
    500: '#6a165b',
    950: '#000000',
  },
}
SCSS
$custom: #6a165b;
$custom-light: #985d89;
$custom-dark: #000000;
JSON
{
  "hex": "#6a165b",
  "rgb": {
    "r": 106,
    "g": 22,
    "b": 91
  },
  "hsl": {
    "h": 310.714,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.37148,
    "c": 0.14035,
    "h": 336.4
  },
  "luminance": 0.04393
}

Semantic roles & 50–950 ramp

primary
#6A165B
secondary
#3BA04D
accent
#E95D3F
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050B
muted
#7E797C

Preview Lab

Preview with #6A165B

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

Preview Lab → · Contrast checker → · Palette generator →

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