#6C2168#6C2168

#6C2168 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.3% C 0.138 H 330.1°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#6C2168
RGBrgb(108, 33, 104)
HSLhsl(303, 53%, 28%)
HSVhsv(303, 69%, 42%)
CMYKcmyk(0%, 69.4%, 3.7%, 57.6%)
CIE-LABlab(27.51, 42.26, -25.03)
CIE-LCHlch(27.51, 49.12, 329.37°)
OKLaboklab(39.31% 0.1196 -0.0689)
OKLCHoklch(39.31% 0.138 330.1)
XYZxyz(9.2268, 5.2760, 13.6264)
Luminance0.0527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2168 #216C25
analogous
#4A216C #6C2168 #6C2142
triadic
#6C2168 #686C21 #21686C
tetradic
#6C2168 #6C4A21 #216C25 #21426C
square
#6C2168 #6C4A21 #216C25 #21426C
split-complementary
#6C2168 #426C21 #216C4A
monochromatic
#170717 #3D133B #6C2168 #9B2F95 #C542BE

Accessibility & contrast

On white

10.22
#6C2168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6C2168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2168
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2168#FFFFFF#000000##FFFFFF
##6C21681.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3A6A
Deuteranopia (green-blind)
#364566
Tritanopia (blue-blind)
#702A41
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6c2168;
/* rgb */ color: rgb(108, 33, 104);
/* oklch */ color: oklch(39.3% 0.138 330.1);
Tailwind
colors: {
  custom: {
    50: '#996393',
    500: '#6c2168',
    950: '#000000',
  },
}
SCSS
$custom: #6c2168;
$custom-light: #996393;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2168",
  "rgb": {
    "r": 108,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 303.2,
    "s": 53.191,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39307,
    "c": 0.13805,
    "h": 330.1
  },
  "luminance": 0.05275
}

Semantic roles & 50–950 ramp

primary
#6C2168
secondary
#49A04E
accent
#DD534B
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6C2168

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

Preview Lab → · Contrast checker → · Palette generator →

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