#6C2196#6C2196

#6C2196 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.181 H 309.8°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#6C2196
RGBrgb(108, 33, 150)
HSLhsl(278, 64%, 36%)
HSVhsv(278, 78%, 59%)
CMYKcmyk(28%, 78%, 0%, 41.2%)
CIE-LABlab(30.59, 51.63, -49.02)
CIE-LCHlch(30.59, 71.20, 316.48°)
OKLaboklab(42.49% 0.116 -0.1391)
OKLCHoklch(42.49% 0.181 309.8)
XYZxyz(12.2321, 6.4781, 29.4543)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2196 #4B9621
analogous
#322196 #6C2196 #962185
triadic
#6C2196 #966C21 #21966C
tetradic
#6C2196 #963221 #4B9621 #218596
square
#6C2196 #963221 #4B9621 #218596
split-complementary
#6C2196 #859621 #219632
monochromatic
#240B32 #481664 #6C2196 #902CC8 #AB57DA

Accessibility & contrast

On white

9.15
#6C2196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6C2196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2196
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2196#FFFFFF#000000##FFFFFF
##6C21961.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#663D5B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6c2196;
/* rgb */ color: rgb(108, 33, 150);
/* oklch */ color: oklch(42.5% 0.181 309.8);
Tailwind
colors: {
  custom: {
    50: '#9b65b6',
    500: '#6c2196',
    950: '#000000',
  },
}
SCSS
$custom: #6c2196;
$custom-light: #9b65b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2196",
  "rgb": {
    "r": 108,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 278.462,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42486,
    "c": 0.18108,
    "h": 309.8
  },
  "luminance": 0.06478
}

Semantic roles & 50–950 ramp

primary
#6C2196
secondary
#7BBE55
accent
#E7417C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C2196

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

Preview Lab → · Contrast checker → · Palette generator →

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