#6C1DB1#6C1DB1

#6C1DB1 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.4% C 0.211 H 302.0°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#6C1DB1
RGBrgb(108, 29, 177)
HSLhsl(272, 72%, 40%)
HSVhsv(272, 84%, 69%)
CMYKcmyk(39%, 83.6%, 0%, 30.6%)
CIE-LABlab(32.35, 59.12, -62.48)
CIE-LCHlch(32.35, 86.01, 313.42°)
OKLaboklab(44.41% 0.1117 -0.1785)
OKLCHoklch(44.41% 0.211 302)
XYZxyz(14.5576, 7.2411, 42.2172)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1DB1 #62B11D
analogous
#221DB1 #6C1DB1 #B11DAC
triadic
#6C1DB1 #B16C1D #1DB16C
tetradic
#6C1DB1 #B1221D #62B11D #1DACB1
square
#6C1DB1 #B1221D #62B11D #1DACB1
split-complementary
#6C1DB1 #ACB11D #1DB122
monochromatic
#2C0C48 #4C147C #6C1DB1 #8B2EDD #A963E5

Accessibility & contrast

On white

8.58
#6C1DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6C1DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1DB1
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1DB1#FFFFFF#000000##FFFFFF
##6C1DB11.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB5
Deuteranopia (green-blind)
#004BAE
Tritanopia (blue-blind)
#5D486A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6c1db1;
/* rgb */ color: rgb(108, 29, 177);
/* oklch */ color: oklch(44.4% 0.211 302.0);
Tailwind
colors: {
  custom: {
    50: '#9d65c9',
    500: '#6c1db1',
    950: '#000000',
  },
}
SCSS
$custom: #6c1db1;
$custom-light: #9d65c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1db1",
  "rgb": {
    "r": 108,
    "g": 29,
    "b": 177
  },
  "hsl": {
    "h": 272.027,
    "s": 71.845,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4441,
    "c": 0.21061,
    "h": 302
  },
  "luminance": 0.07241
}

Semantic roles & 50–950 ramp

primary
#6C1DB1
secondary
#91CA60
accent
#EF398E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6C1DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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