#6B2160#6B2160

#6B2160 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 38.7% C 0.131 H 334.2°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#6B2160
RGBrgb(107, 33, 96)
HSLhsl(309, 53%, 27%)
HSVhsv(309, 69%, 42%)
CMYKcmyk(0%, 69.2%, 10.3%, 58%)
CIE-LABlab(26.90, 40.58, -20.79)
CIE-LCHlch(26.90, 45.59, 332.87°)
OKLaboklab(38.69% 0.1176 -0.0568)
OKLCHoklch(38.69% 0.131 334.2)
XYZxyz(8.7186, 5.0587, 11.5813)
Luminance0.0506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2160 #216B2C
analogous
#51216B #6B2160 #6B213B
triadic
#6B2160 #606B21 #21606B
tetradic
#6B2160 #6B5121 #216B2C #213B6B
square
#6B2160 #6B5121 #216B2C #213B6B
split-complementary
#6B2160 #3B6B21 #216B51
monochromatic
#170715 #3C1336 #6B2160 #9A2F8A #C542B1

Accessibility & contrast

On white

10.44
#6B2160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#6B2160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2160
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2160#FFFFFF#000000##FFFFFF
##6B21601.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203962
Deuteranopia (green-blind)
#39435E
Tritanopia (blue-blind)
#70273D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6b2160;
/* rgb */ color: rgb(107, 33, 96);
/* oklch */ color: oklch(38.7% 0.131 334.2);
Tailwind
colors: {
  custom: {
    50: '#98638d',
    500: '#6b2160',
    950: '#000000',
  },
}
SCSS
$custom: #6b2160;
$custom-light: #98638d;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2160",
  "rgb": {
    "r": 107,
    "g": 33,
    "b": 96
  },
  "hsl": {
    "h": 308.919,
    "s": 52.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38693,
    "c": 0.13062,
    "h": 334.2
  },
  "luminance": 0.05058
}

Semantic roles & 50–950 ramp

primary
#6B2160
secondary
#499F56
accent
#DC614C
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0E050C
muted
#7E7A7D

Preview Lab

Preview with #6B2160

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

Preview Lab → · Contrast checker → · Palette generator →

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