#6C1D96#6C1D96

#6C1D96 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.185 H 310.2°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#6C1D96
RGBrgb(108, 29, 150)
HSLhsl(279, 68%, 35%)
HSVhsv(279, 81%, 59%)
CMYKcmyk(28%, 80.7%, 0%, 41.2%)
CIE-LABlab(30.08, 53.09, -49.85)
CIE-LCHlch(30.08, 72.82, 316.81°)
OKLaboklab(42.13% 0.1194 -0.1414)
OKLCHoklch(42.13% 0.185 310.2)
XYZxyz(12.1276, 6.2692, 29.4194)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1D96 #47961D
analogous
#301D96 #6C1D96 #961D83
triadic
#6C1D96 #966C1D #1D966C
tetradic
#6C1D96 #96301D #47961D #1D8396
square
#6C1D96 #96301D #47961D #1D8396
split-complementary
#6C1D96 #83961D #1D9630
monochromatic
#22092F #471363 #6C1D96 #9127C9 #AC50DD

Accessibility & contrast

On white

9.32
#6C1D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6C1D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1D96
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1D96#FFFFFF#000000##FFFFFF
##6C1D961.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#663C5A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6c1d96;
/* rgb */ color: rgb(108, 29, 150);
/* oklch */ color: oklch(42.1% 0.185 310.2);
Tailwind
colors: {
  custom: {
    50: '#9b63b6',
    500: '#6c1d96',
    950: '#000000',
  },
}
SCSS
$custom: #6c1d96;
$custom-light: #9b63b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1d96",
  "rgb": {
    "r": 108,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 279.174,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42131,
    "c": 0.18512,
    "h": 310.2
  },
  "luminance": 0.06269
}

Semantic roles & 50–950 ramp

primary
#6C1D96
secondary
#76C04F
accent
#EA3D79
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C1D96

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

Preview Lab → · Contrast checker → · Palette generator →

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