#6C199C#6C199C

#6C199C is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.3% C 0.194 H 308.5°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#6C199C
RGBrgb(108, 25, 156)
HSLhsl(278, 72%, 35%)
HSVhsv(278, 84%, 61%)
CMYKcmyk(30.8%, 84%, 0%, 38.8%)
CIE-LABlab(30.12, 55.70, -53.46)
CIE-LCHlch(30.12, 77.20, 316.18°)
OKLaboklab(42.31% 0.1209 -0.152)
OKLCHoklch(42.31% 0.194 308.5)
XYZxyz(12.5315, 6.2839, 31.9988)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C199C #499C19
analogous
#2A199C #6C199C #9C198B
triadic
#6C199C #9C6C19 #199C6C
tetradic
#6C199C #9C2A19 #499C19 #198B9C
square
#6C199C #9C2A19 #499C19 #198B9C
split-complementary
#6C199C #8B9C19 #199C2A
monochromatic
#230833 #471167 #6C199C #9121D1 #AC4DE2

Accessibility & contrast

On white

9.31
#6C199C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C199C
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C199C#FFFFFF#000000##FFFFFF
##6C199C1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#004899
Tritanopia (blue-blind)
#643D5D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6c199c;
/* rgb */ color: rgb(108, 25, 156);
/* oklch */ color: oklch(42.3% 0.194 308.5);
Tailwind
colors: {
  custom: {
    50: '#9b62ba',
    500: '#6c199c',
    950: '#000000',
  },
}
SCSS
$custom: #6c199c;
$custom-light: #9b62ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6c199c",
  "rgb": {
    "r": 108,
    "g": 25,
    "b": 156
  },
  "hsl": {
    "h": 278.015,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42307,
    "c": 0.19424,
    "h": 308.5
  },
  "luminance": 0.06284
}

Semantic roles & 50–950 ramp

primary
#6C199C
secondary
#78C44C
accent
#EF397C
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C199C

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

Preview Lab → · Contrast checker → · Palette generator →

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