#6A2168#6A2168

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

Color values

HEX#6A2168
RGBrgb(106, 33, 104)
HSLhsl(302, 53%, 27%)
HSVhsv(302, 69%, 42%)
CMYKcmyk(0%, 68.9%, 1.9%, 58.4%)
CIE-LABlab(27.16, 41.73, -25.59)
CIE-LCHlch(27.16, 48.95, 328.48°)
OKLaboklab(38.99% 0.1172 -0.0706)
OKLCHoklch(38.99% 0.137 328.9)
XYZxyz(8.9863, 5.1520, 13.6151)
Luminance0.0515 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2168 #216A23
analogous
#48216A #6A2168 #6A2144
triadic
#6A2168 #686A21 #21686A
tetradic
#6A2168 #6A4821 #216A23 #21446A
square
#6A2168 #6A4821 #216A23 #21446A
split-complementary
#6A2168 #446A21 #216A48
monochromatic
#170717 #3B123A #6A2168 #993096 #C441C0

Accessibility & contrast

On white

10.34
#6A2168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#6A2168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2168
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2168#FFFFFF#000000##FFFFFF
##6A21681.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193A6A
Deuteranopia (green-blind)
#344466
Tritanopia (blue-blind)
#6E2A41
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6a2168;
/* rgb */ color: rgb(106, 33, 104);
/* oklch */ color: oklch(39.0% 0.137 328.9);
Tailwind
colors: {
  custom: {
    50: '#976393',
    500: '#6a2168',
    950: '#000000',
  },
}
SCSS
$custom: #6a2168;
$custom-light: #976393;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2168",
  "rgb": {
    "r": 106,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 301.644,
    "s": 52.518,
    "l": 27.255
  },
  "oklch": {
    "l": 0.38991,
    "c": 0.13686,
    "h": 328.9
  },
  "luminance": 0.05151
}

Semantic roles & 50–950 ramp

primary
#6A2168
secondary
#499E4B
accent
#DC504C
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6A2168

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

Preview Lab → · Contrast checker → · Palette generator →

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