#6C216B#6C216B

#6C216B is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.5% C 0.141 H 328.4°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#6C216B
RGBrgb(108, 33, 107)
HSLhsl(301, 53%, 28%)
HSVhsv(301, 69%, 42%)
CMYKcmyk(0%, 69.4%, 0.9%, 57.6%)
CIE-LABlab(27.68, 42.81, -26.69)
CIE-LCHlch(27.68, 50.45, 328.06°)
OKLaboklab(39.49% 0.1198 -0.0737)
OKLCHoklch(39.49% 0.141 328.4)
XYZxyz(9.3819, 5.3380, 14.4433)
Luminance0.0534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C216B #216C22
analogous
#47216C #6C216B #6C2145
triadic
#6C216B #6B6C21 #216B6C
tetradic
#6C216B #6C4721 #216C22 #21456C
square
#6C216B #6C4721 #216C22 #21456C
split-complementary
#6C216B #456C21 #216C47
monochromatic
#170717 #3D133D #6C216B #9B2F99 #C542C4

Accessibility & contrast

On white

10.16
#6C216B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#6C216B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C216B
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C216B#FFFFFF#000000##FFFFFF
##6C216B1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173B6D
Deuteranopia (green-blind)
#344569
Tritanopia (blue-blind)
#702B43
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6c216b;
/* rgb */ color: rgb(108, 33, 107);
/* oklch */ color: oklch(39.5% 0.141 328.4);
Tailwind
colors: {
  custom: {
    50: '#996395',
    500: '#6c216b',
    950: '#000000',
  },
}
SCSS
$custom: #6c216b;
$custom-light: #996395;
$custom-dark: #000000;
JSON
{
  "hex": "#6c216b",
  "rgb": {
    "r": 108,
    "g": 33,
    "b": 107
  },
  "hsl": {
    "h": 300.8,
    "s": 53.191,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39485,
    "c": 0.14068,
    "h": 328.4
  },
  "luminance": 0.05337
}

Semantic roles & 50–950 ramp

primary
#6C216B
secondary
#49A04A
accent
#DD4D4B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6C216B

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

Preview Lab → · Contrast checker → · Palette generator →

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