#6C226A#6C226A

#6C226A is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.5% C 0.138 H 328.9°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#6C226A
RGBrgb(108, 34, 106)
HSLhsl(302, 52%, 28%)
HSVhsv(302, 69%, 42%)
CMYKcmyk(0%, 68.5%, 1.9%, 57.6%)
CIE-LABlab(27.77, 42.20, -25.90)
CIE-LCHlch(27.77, 49.51, 328.46°)
OKLaboklab(39.54% 0.1185 -0.0714)
OKLCHoklch(39.54% 0.138 328.9)
XYZxyz(9.3578, 5.3735, 14.1772)
Luminance0.0537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C226A #226C24
analogous
#49226C #6C226A #6C2245
triadic
#6C226A #6A6C22 #226A6C
tetradic
#6C226A #6C4922 #226C24 #22456C
square
#6C226A #6C4922 #226C24 #22456C
split-complementary
#6C226A #456C22 #226C49
monochromatic
#170717 #3D133C #6C226A #9B3198 #C444C1

Accessibility & contrast

On white

10.12
#6C226A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C226A
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C226A#FFFFFF#000000##FFFFFF
##6C226A1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3B6C
Deuteranopia (green-blind)
#354568
Tritanopia (blue-blind)
#702B43
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6c226a;
/* rgb */ color: rgb(108, 34, 106);
/* oklch */ color: oklch(39.5% 0.138 328.9);
Tailwind
colors: {
  custom: {
    50: '#996495',
    500: '#6c226a',
    950: '#000000',
  },
}
SCSS
$custom: #6c226a;
$custom-light: #996495;
$custom-dark: #000000;
JSON
{
  "hex": "#6c226a",
  "rgb": {
    "r": 108,
    "g": 34,
    "b": 106
  },
  "hsl": {
    "h": 301.622,
    "s": 52.113,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39536,
    "c": 0.13839,
    "h": 328.9
  },
  "luminance": 0.05373
}

Semantic roles & 50–950 ramp

primary
#6C226A
secondary
#4AA04D
accent
#DC504C
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6C226A

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

Preview Lab → · Contrast checker → · Palette generator →

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