#6B2168#6B2168

#6B2168 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.1% C 0.137 H 329.5°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#6B2168
RGBrgb(107, 33, 104)
HSLhsl(302, 53%, 27%)
HSVhsv(302, 69%, 42%)
CMYKcmyk(0%, 69.2%, 2.8%, 58%)
CIE-LABlab(27.33, 42.00, -25.31)
CIE-LCHlch(27.33, 49.04, 328.93°)
OKLaboklab(39.15% 0.1184 -0.0698)
OKLCHoklch(39.15% 0.137 329.5)
XYZxyz(9.1059, 5.2136, 13.6207)
Luminance0.0521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2168 #216B24
analogous
#49216B #6B2168 #6B2143
triadic
#6B2168 #686B21 #21686B
tetradic
#6B2168 #6B4921 #216B24 #21436B
square
#6B2168 #6B4921 #216B24 #21436B
split-complementary
#6B2168 #436B21 #216B49
monochromatic
#170717 #3C133B #6B2168 #9A2F95 #C542BF

Accessibility & contrast

On white

10.28
#6B2168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#6B2168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2168
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2168#FFFFFF#000000##FFFFFF
##6B21681.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3A6A
Deuteranopia (green-blind)
#354466
Tritanopia (blue-blind)
#6F2A41
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6b2168;
/* rgb */ color: rgb(107, 33, 104);
/* oklch */ color: oklch(39.1% 0.137 329.5);
Tailwind
colors: {
  custom: {
    50: '#986393',
    500: '#6b2168',
    950: '#000000',
  },
}
SCSS
$custom: #6b2168;
$custom-light: #986393;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2168",
  "rgb": {
    "r": 107,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 302.432,
    "s": 52.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.39149,
    "c": 0.13745,
    "h": 329.5
  },
  "luminance": 0.05213
}

Semantic roles & 50–950 ramp

primary
#6B2168
secondary
#499F4C
accent
#DC514C
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6B2168

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

Preview Lab → · Contrast checker → · Palette generator →

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