#6C226E#6C226E

#6C226E is a dark, vivid purple. Relative luminance 0.055; OKLCH L 39.8% C 0.142 H 326.8°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#6C226E
RGBrgb(108, 34, 110)
HSLhsl(298, 53%, 28%)
HSVhsv(298, 69%, 43%)
CMYKcmyk(1.8%, 69.1%, 0%, 56.9%)
CIE-LABlab(28.00, 42.95, -28.11)
CIE-LCHlch(28.00, 51.33, 326.80°)
OKLaboklab(39.78% 0.1187 -0.0778)
OKLCHoklch(39.78% 0.142 326.8)
XYZxyz(9.5707, 5.4586, 15.2983)
Luminance0.0546 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C226E #246E22
analogous
#46226E #6C226E #6E224A
triadic
#6C226E #6E6C22 #226E6C
tetradic
#6C226E #6E4622 #246E22 #224A6E
square
#6C226E #6E4622 #246E22 #224A6E
split-complementary
#6C226E #4A6E22 #226E46
monochromatic
#170717 #3E143F #6C226E #9A309D #C245C5

Accessibility & contrast

On white

10.04
#6C226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#6C226E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C226E
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C226E#FFFFFF#000000##FFFFFF
##6C226E1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153C70
Deuteranopia (green-blind)
#33456C
Tritanopia (blue-blind)
#6F2D45
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6c226e;
/* rgb */ color: rgb(108, 34, 110);
/* oklch */ color: oklch(39.8% 0.142 326.8);
Tailwind
colors: {
  custom: {
    50: '#996498',
    500: '#6c226e',
    950: '#000000',
  },
}
SCSS
$custom: #6c226e;
$custom-light: #996498;
$custom-dark: #000000;
JSON
{
  "hex": "#6c226e",
  "rgb": {
    "r": 108,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 298.421,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39777,
    "c": 0.14197,
    "h": 326.8
  },
  "luminance": 0.05458
}

Semantic roles & 50–950 ramp

primary
#6C226E
secondary
#4DA14A
accent
#DC4C4F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6C226E

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

Preview Lab → · Contrast checker → · Palette generator →

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