#6C1D9C#6C1D9C

#6C1D9C is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.191 H 308.2°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#6C1D9C
RGBrgb(108, 29, 156)
HSLhsl(277, 69%, 36%)
HSVhsv(277, 81%, 61%)
CMYKcmyk(30.8%, 81.4%, 0%, 38.8%)
CIE-LABlab(30.56, 54.40, -52.73)
CIE-LCHlch(30.56, 75.77, 315.89°)
OKLaboklab(42.62% 0.1179 -0.1499)
OKLCHoklch(42.62% 0.191 308.2)
XYZxyz(12.6232, 6.4674, 32.0294)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1D9C #4D9C1D
analogous
#2D1D9C #6C1D9C #9C1D8D
triadic
#6C1D9C #9C6C1D #1D9C6C
tetradic
#6C1D9C #9C2D1D #4D9C1D #1D8D9C
square
#6C1D9C #9C2D1D #4D9C1D #1D8D9C
split-complementary
#6C1D9C #8D9C1D #1D9C2D
monochromatic
#250A35 #481368 #6C1D9C #9027D0 #AB54DF

Accessibility & contrast

On white

9.16
#6C1D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6C1D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1D9C
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1D9C#FFFFFF#000000##FFFFFF
##6C1D9C1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00499A
Tritanopia (blue-blind)
#643E5D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6c1d9c;
/* rgb */ color: rgb(108, 29, 156);
/* oklch */ color: oklch(42.6% 0.191 308.2);
Tailwind
colors: {
  custom: {
    50: '#9b64ba',
    500: '#6c1d9c',
    950: '#000000',
  },
}
SCSS
$custom: #6c1d9c;
$custom-light: #9b64ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1d9c",
  "rgb": {
    "r": 108,
    "g": 29,
    "b": 156
  },
  "hsl": {
    "h": 277.323,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42617,
    "c": 0.19076,
    "h": 308.2
  },
  "luminance": 0.06467
}

Semantic roles & 50–950 ramp

primary
#6C1D9C
secondary
#7DC252
accent
#EB3C7F
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C1D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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