#6C2292#6C2292

#6C2292 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.176 H 311.1°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#6C2292
RGBrgb(108, 34, 146)
HSLhsl(280, 62%, 35%)
HSVhsv(280, 77%, 57%)
CMYKcmyk(26%, 76.7%, 0%, 42.7%)
CIE-LABlab(30.42, 50.36, -46.84)
CIE-LCHlch(30.42, 68.78, 317.07°)
OKLaboklab(42.27% 0.1158 -0.1326)
OKLCHoklch(42.27% 0.176 311.1)
XYZxyz(11.9437, 6.4078, 27.7962)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2292 #489222
analogous
#342292 #6C2292 #922280
triadic
#6C2292 #926C22 #22926C
tetradic
#6C2292 #923422 #489222 #228092
square
#6C2292 #923422 #489222 #228092
split-complementary
#6C2292 #809222 #229234
monochromatic
#230B2F #471660 #6C2292 #912EC4 #AC57D8

Accessibility & contrast

On white

9.20
#6C2292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C2292
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2292#FFFFFF#000000##FFFFFF
##6C22921.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#0B4990
Tritanopia (blue-blind)
#673C59
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6c2292;
/* rgb */ color: rgb(108, 34, 146);
/* oklch */ color: oklch(42.3% 0.176 311.1);
Tailwind
colors: {
  custom: {
    50: '#9a65b3',
    500: '#6c2292',
    950: '#000000',
  },
}
SCSS
$custom: #6c2292;
$custom-light: #9a65b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2292",
  "rgb": {
    "r": 108,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 279.643,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42271,
    "c": 0.17611,
    "h": 311.1
  },
  "luminance": 0.06408
}

Semantic roles & 50–950 ramp

primary
#6C2292
secondary
#77BC54
accent
#E5437A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6C2292

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

Preview Lab → · Contrast checker → · Palette generator →

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