#6C2267#6C2267

#6C2267 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.4% C 0.136 H 330.6°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#6C2267
RGBrgb(108, 34, 103)
HSLhsl(304, 52%, 28%)
HSVhsv(304, 69%, 42%)
CMYKcmyk(0%, 68.5%, 4.6%, 57.6%)
CIE-LABlab(27.61, 41.65, -24.22)
CIE-LCHlch(27.61, 48.18, 329.82°)
OKLaboklab(39.36% 0.1183 -0.0666)
OKLCHoklch(39.36% 0.136 330.6)
XYZxyz(9.2045, 5.3122, 13.3699)
Luminance0.0531 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2267 #226C27
analogous
#4C226C #6C2267 #6C2242
triadic
#6C2267 #676C22 #22676C
tetradic
#6C2267 #6C4C22 #226C27 #22426C
square
#6C2267 #6C4C22 #226C27 #22426C
split-complementary
#6C2267 #426C22 #226C4C
monochromatic
#170716 #3D133B #6C2267 #9B3193 #C444BC

Accessibility & contrast

On white

10.18
#6C2267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C2267
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2267#FFFFFF#000000##FFFFFF
##6C22671.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c2267;
/* rgb */ color: rgb(108, 34, 103);
/* oklch */ color: oklch(39.4% 0.136 330.6);
Tailwind
colors: {
  custom: {
    50: '#996492',
    500: '#6c2267',
    950: '#000000',
  },
}
SCSS
$custom: #6c2267;
$custom-light: #996492;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2267",
  "rgb": {
    "r": 108,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 304.054,
    "s": 52.113,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39361,
    "c": 0.13576,
    "h": 330.6
  },
  "luminance": 0.05311
}

Semantic roles & 50–950 ramp

primary
#6C2267
secondary
#4AA050
accent
#DC564C
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6C2267

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

Preview Lab → · Contrast checker → · Palette generator →

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