#6C2291#6C2291

#6C2291 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.175 H 311.5°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#6C2291
RGBrgb(108, 34, 145)
HSLhsl(280, 62%, 35%)
HSVhsv(280, 77%, 57%)
CMYKcmyk(25.5%, 76.6%, 0%, 43.1%)
CIE-LABlab(30.34, 50.14, -46.35)
CIE-LCHlch(30.34, 68.28, 317.25°)
OKLaboklab(42.2% 0.116 -0.1312)
OKLCHoklch(42.2% 0.175 311.5)
XYZxyz(11.8662, 6.3768, 27.3883)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2291 #479122
analogous
#352291 #6C2291 #91227E
triadic
#6C2291 #916C22 #22916C
tetradic
#6C2291 #913522 #479122 #227E91
square
#6C2291 #913522 #479122 #227E91
split-complementary
#6C2291 #7E9122 #229135
monochromatic
#220B2E #47165F #6C2291 #912EC3 #AC56D7

Accessibility & contrast

On white

9.23
#6C2291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6C2291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2291
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2291#FFFFFF#000000##FFFFFF
##6C22911.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#0E498F
Tritanopia (blue-blind)
#673C58
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6c2291;
/* rgb */ color: rgb(108, 34, 145);
/* oklch */ color: oklch(42.2% 0.175 311.5);
Tailwind
colors: {
  custom: {
    50: '#9a65b2',
    500: '#6c2291',
    950: '#000000',
  },
}
SCSS
$custom: #6c2291;
$custom-light: #9a65b2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2291",
  "rgb": {
    "r": 108,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 280,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42195,
    "c": 0.17514,
    "h": 311.5
  },
  "luminance": 0.06377
}

Semantic roles & 50–950 ramp

primary
#6C2291
secondary
#76BB53
accent
#E54379
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6C2291

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

Preview Lab → · Contrast checker → · Palette generator →

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