#6C2199#6C2199

#6C2199 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.184 H 308.8°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#6C2199
RGBrgb(108, 33, 153)
HSLhsl(278, 65%, 36%)
HSVhsv(278, 78%, 60%)
CMYKcmyk(29.4%, 78.4%, 0%, 40%)
CIE-LABlab(30.82, 52.30, -50.48)
CIE-LCHlch(30.82, 72.68, 316.01°)
OKLaboklab(42.72% 0.1153 -0.1433)
OKLCHoklch(42.72% 0.184 308.8)
XYZxyz(12.4768, 6.5760, 30.7428)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2199 #4E9921
analogous
#302199 #6C2199 #99218A
triadic
#6C2199 #996C21 #21996C
tetradic
#6C2199 #993021 #4E9921 #218A99
square
#6C2199 #993021 #4E9921 #218A99
split-complementary
#6C2199 #8A9921 #219930
monochromatic
#250B34 #481667 #6C2199 #902CCB #AA59DB

Accessibility & contrast

On white

9.07
#6C2199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6C2199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2199
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2199#FFFFFF#000000##FFFFFF
##6C21991.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#653F5C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6c2199;
/* rgb */ color: rgb(108, 33, 153);
/* oklch */ color: oklch(42.7% 0.184 308.8);
Tailwind
colors: {
  custom: {
    50: '#9b65b8',
    500: '#6c2199',
    950: '#000000',
  },
}
SCSS
$custom: #6c2199;
$custom-light: #9b65b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2199",
  "rgb": {
    "r": 108,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 277.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42724,
    "c": 0.18398,
    "h": 308.8
  },
  "luminance": 0.06576
}

Semantic roles & 50–950 ramp

primary
#6C2199
secondary
#7EBF56
accent
#E8407F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C2199

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

Preview Lab → · Contrast checker → · Palette generator →

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