#6C199D#6C199D

#6C199D is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.4% C 0.195 H 308.2°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#6C199D
RGBrgb(108, 25, 157)
HSLhsl(278, 73%, 36%)
HSVhsv(278, 84%, 62%)
CMYKcmyk(31.2%, 84.1%, 0%, 38.4%)
CIE-LABlab(30.20, 55.92, -53.93)
CIE-LCHlch(30.20, 77.69, 316.03°)
OKLaboklab(42.39% 0.1206 -0.1534)
OKLCHoklch(42.39% 0.195 308.2)
XYZxyz(12.6165, 6.3179, 32.4466)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C199D #4A9D19
analogous
#2A199D #6C199D #9D198C
triadic
#6C199D #9D6C19 #199D6C
tetradic
#6C199D #9D2A19 #4A9D19 #198C9D
square
#6C199D #9D2A19 #4A9D19 #198C9D
split-complementary
#6C199D #8C9D19 #199D2A
monochromatic
#230833 #481168 #6C199D #9021D2 #AB4EE3

Accessibility & contrast

On white

9.28
#6C199D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6C199D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C199D
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C199D#FFFFFF#000000##FFFFFF
##6C199D1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#643D5D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6c199d;
/* rgb */ color: rgb(108, 25, 157);
/* oklch */ color: oklch(42.4% 0.195 308.2);
Tailwind
colors: {
  custom: {
    50: '#9c62bb',
    500: '#6c199d',
    950: '#000000',
  },
}
SCSS
$custom: #6c199d;
$custom-light: #9c62bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c199d",
  "rgb": {
    "r": 108,
    "g": 25,
    "b": 157
  },
  "hsl": {
    "h": 277.727,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42391,
    "c": 0.19515,
    "h": 308.2
  },
  "luminance": 0.06318
}

Semantic roles & 50–950 ramp

primary
#6C199D
secondary
#79C54D
accent
#EF397C
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C199D

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

Preview Lab → · Contrast checker → · Palette generator →

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