#6B165F#6B165F

#6B165F is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.5% C 0.144 H 334.6°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#6B165F
RGBrgb(107, 22, 95)
HSLhsl(308, 66%, 25%)
HSVhsv(308, 79%, 42%)
CMYKcmyk(0%, 79.4%, 11.2%, 58%)
CIE-LABlab(25.34, 44.66, -22.58)
CIE-LCHlch(25.34, 50.05, 333.18°)
OKLaboklab(37.55% 0.1301 -0.0618)
OKLCHoklch(37.55% 0.144 334.6)
XYZxyz(8.4160, 4.5266, 11.2547)
Luminance0.0453 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B165F #166B22
analogous
#4D166B #6B165F #6B1634
triadic
#6B165F #5F6B16 #165F6B
tetradic
#6B165F #6B4D16 #166B22 #16346B
square
#6B165F #6B4D16 #166B22 #16346B
split-complementary
#6B165F #346B16 #166B4D
monochromatic
#190517 #380C32 #6B165F #9E208C #D12BB9

Accessibility & contrast

On white

11.02
#6B165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B165F
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B165F#FFFFFF#000000##FFFFFF
##6B165F1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b165f;
/* rgb */ color: rgb(107, 22, 95);
/* oklch */ color: oklch(37.5% 0.144 334.6);
Tailwind
colors: {
  custom: {
    50: '#985e8c',
    500: '#6b165f',
    950: '#000000',
  },
}
SCSS
$custom: #6b165f;
$custom-light: #985e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b165f",
  "rgb": {
    "r": 107,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 308.471,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.37548,
    "c": 0.144,
    "h": 334.6
  },
  "luminance": 0.04526
}

Semantic roles & 50–950 ramp

primary
#6B165F
secondary
#3BA14A
accent
#E9573F
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6B165F

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

Preview Lab → · Contrast checker → · Palette generator →

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