#6C199E#6C199E

#6C199E is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.5% C 0.196 H 307.9°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#6C199E
RGBrgb(108, 25, 158)
HSLhsl(277, 73%, 36%)
HSVhsv(277, 84%, 62%)
CMYKcmyk(31.6%, 84.2%, 0%, 38%)
CIE-LABlab(30.28, 56.13, -54.40)
CIE-LCHlch(30.28, 78.17, 315.90°)
OKLaboklab(42.48% 0.1203 -0.1548)
OKLCHoklch(42.48% 0.196 307.9)
XYZxyz(12.7022, 6.3522, 32.8981)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C199E #4B9E19
analogous
#2A199E #6C199E #9E198D
triadic
#6C199E #9E6C19 #199E6C
tetradic
#6C199E #9E2A19 #4B9E19 #198D9E
square
#6C199E #9E2A19 #4B9E19 #198D9E
split-complementary
#6C199E #8D9E19 #199E2A
monochromatic
#240834 #481169 #6C199E #9021D3 #AB4EE3

Accessibility & contrast

On white

9.25
#6C199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6C199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C199E
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C199E#FFFFFF#000000##FFFFFF
##6C199E1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#643E5E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6c199e;
/* rgb */ color: rgb(108, 25, 158);
/* oklch */ color: oklch(42.5% 0.196 307.9);
Tailwind
colors: {
  custom: {
    50: '#9c62bc',
    500: '#6c199e',
    950: '#000000',
  },
}
SCSS
$custom: #6c199e;
$custom-light: #9c62bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c199e",
  "rgb": {
    "r": 108,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 277.444,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42475,
    "c": 0.19607,
    "h": 307.9
  },
  "luminance": 0.06352
}

Semantic roles & 50–950 ramp

primary
#6C199E
secondary
#7BC54E
accent
#EF387D
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C199E

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

Preview Lab → · Contrast checker → · Palette generator →

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