#6C199F#6C199F

#6C199F is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.6% C 0.197 H 307.5°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#6C199F
RGBrgb(108, 25, 159)
HSLhsl(277, 73%, 36%)
HSVhsv(277, 84%, 62%)
CMYKcmyk(32.1%, 84.3%, 0%, 37.6%)
CIE-LABlab(30.37, 56.35, -54.88)
CIE-LCHlch(30.37, 78.65, 315.76°)
OKLaboklab(42.56% 0.12 -0.1562)
OKLCHoklch(42.56% 0.197 307.5)
XYZxyz(12.7886, 6.3868, 33.3532)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C199F #4C9F19
analogous
#29199F #6C199F #9F198F
triadic
#6C199F #9F6C19 #199F6C
tetradic
#6C199F #9F2919 #4C9F19 #198F9F
square
#6C199F #9F2919 #4C9F19 #198F9F
split-complementary
#6C199F #8F9F19 #199F29
monochromatic
#240835 #48116A #6C199F #9021D4 #AB4FE3

Accessibility & contrast

On white

9.22
#6C199F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C199F
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C199F#FFFFFF#000000##FFFFFF
##6C199F1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#633E5E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6c199f;
/* rgb */ color: rgb(108, 25, 159);
/* oklch */ color: oklch(42.6% 0.197 307.5);
Tailwind
colors: {
  custom: {
    50: '#9c62bc',
    500: '#6c199f',
    950: '#000000',
  },
}
SCSS
$custom: #6c199f;
$custom-light: #9c62bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c199f",
  "rgb": {
    "r": 108,
    "g": 25,
    "b": 159
  },
  "hsl": {
    "h": 277.164,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42559,
    "c": 0.19699,
    "h": 307.5
  },
  "luminance": 0.06387
}

Semantic roles & 50–950 ramp

primary
#6C199F
secondary
#7CC64E
accent
#F0387E
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C199F

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

Preview Lab → · Contrast checker → · Palette generator →

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