#6C1DB3#6C1DB3

#6C1DB3 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.6% C 0.212 H 301.5°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#6C1DB3
RGBrgb(108, 29, 179)
HSLhsl(272, 72%, 41%)
HSVhsv(272, 84%, 70%)
CMYKcmyk(39.7%, 83.8%, 0%, 29.8%)
CIE-LABlab(32.53, 59.57, -63.38)
CIE-LCHlch(32.53, 86.98, 313.23°)
OKLaboklab(44.59% 0.111 -0.1812)
OKLCHoklch(44.59% 0.213 301.5)
XYZxyz(14.7584, 7.3215, 43.2747)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1DB3 #64B31D
analogous
#211DB3 #6C1DB3 #B31DAF
triadic
#6C1DB3 #B36C1D #1DB36C
tetradic
#6C1DB3 #B3211D #64B31D #1DAFB3
square
#6C1DB3 #B3211D #64B31D #1DAFB3
split-complementary
#6C1DB3 #AFB31D #1DB321
monochromatic
#2C0C4A #4C147E #6C1DB3 #8B30DD #A964E6

Accessibility & contrast

On white

8.52
#6C1DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6C1DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1DB3
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1DB3#FFFFFF#000000##FFFFFF
##6C1DB31.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#5C496B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6c1db3;
/* rgb */ color: rgb(108, 29, 179);
/* oklch */ color: oklch(44.6% 0.212 301.5);
Tailwind
colors: {
  custom: {
    50: '#9d65cb',
    500: '#6c1db3',
    950: '#000000',
  },
}
SCSS
$custom: #6c1db3;
$custom-light: #9d65cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1db3",
  "rgb": {
    "r": 108,
    "g": 29,
    "b": 179
  },
  "hsl": {
    "h": 271.6,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44588,
    "c": 0.2125,
    "h": 301.5
  },
  "luminance": 0.07322
}

Semantic roles & 50–950 ramp

primary
#6C1DB3
secondary
#93CB61
accent
#EF398F
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6C1DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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