#6C1D99#6C1D99

#6C1D99 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.188 H 309.2°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#6C1D99
RGBrgb(108, 29, 153)
HSLhsl(278, 68%, 36%)
HSVhsv(278, 81%, 60%)
CMYKcmyk(29.4%, 81%, 0%, 40%)
CIE-LABlab(30.32, 53.74, -51.30)
CIE-LCHlch(30.32, 74.29, 316.34°)
OKLaboklab(42.37% 0.1187 -0.1457)
OKLCHoklch(42.37% 0.188 309.2)
XYZxyz(12.3723, 6.3670, 30.7080)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1D99 #4A991D
analogous
#2E1D99 #6C1D99 #991D88
triadic
#6C1D99 #996C1D #1D996C
tetradic
#6C1D99 #992E1D #4A991D #1D8899
square
#6C1D99 #992E1D #4A991D #1D8899
split-complementary
#6C1D99 #88991D #1D992E
monochromatic
#230932 #481366 #6C1D99 #9027CC #AB52DE

Accessibility & contrast

On white

9.24
#6C1D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1D99
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1D99#FFFFFF#000000##FFFFFF
##6C1D991.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004897
Tritanopia (blue-blind)
#653D5C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6c1d99;
/* rgb */ color: rgb(108, 29, 153);
/* oklch */ color: oklch(42.4% 0.188 309.2);
Tailwind
colors: {
  custom: {
    50: '#9b64b8',
    500: '#6c1d99',
    950: '#000000',
  },
}
SCSS
$custom: #6c1d99;
$custom-light: #9b64b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1d99",
  "rgb": {
    "r": 108,
    "g": 29,
    "b": 153
  },
  "hsl": {
    "h": 278.226,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42372,
    "c": 0.18794,
    "h": 309.2
  },
  "luminance": 0.06367
}

Semantic roles & 50–950 ramp

primary
#6C1D99
secondary
#79C151
accent
#EB3D7C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C1D99

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

Preview Lab → · Contrast checker → · Palette generator →

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