#6D2199#6D2199

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

Color values

HEX#6D2199
RGBrgb(109, 33, 153)
HSLhsl(278, 65%, 36%)
HSVhsv(278, 78%, 60%)
CMYKcmyk(28.8%, 78.4%, 0%, 40%)
CIE-LABlab(30.97, 52.48, -50.23)
CIE-LCHlch(30.97, 72.64, 316.25°)
OKLaboklab(42.86% 0.1167 -0.1426)
OKLCHoklch(42.86% 0.184 309.3)
XYZxyz(12.5991, 6.6391, 30.7486)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2199 #4D9921
analogous
#312199 #6D2199 #992189
triadic
#6D2199 #996D21 #21996D
tetradic
#6D2199 #993121 #4D9921 #218999
square
#6D2199 #993121 #4D9921 #218999
split-complementary
#6D2199 #899921 #219931
monochromatic
#250B34 #491667 #6D2199 #912CCB #AC59DB

Accessibility & contrast

On white

9.02
#6D2199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6D2199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2199
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2199#FFFFFF#000000##FFFFFF
##6D21991.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#663F5C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6d2199;
/* rgb */ color: rgb(109, 33, 153);
/* oklch */ color: oklch(42.9% 0.184 309.3);
Tailwind
colors: {
  custom: {
    50: '#9c65b8',
    500: '#6d2199',
    950: '#000000',
  },
}
SCSS
$custom: #6d2199;
$custom-light: #9c65b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2199",
  "rgb": {
    "r": 109,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 278,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42859,
    "c": 0.18427,
    "h": 309.3
  },
  "luminance": 0.06639
}

Semantic roles & 50–950 ramp

primary
#6D2199
secondary
#7DBF56
accent
#E8407E
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6D2199

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

Preview Lab → · Contrast checker → · Palette generator →

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