#6C1B95#6C1B95

#6C1B95 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.9% C 0.186 H 310.7°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#6C1B95
RGBrgb(108, 27, 149)
HSLhsl(280, 69%, 35%)
HSVhsv(280, 82%, 58%)
CMYKcmyk(27.5%, 81.9%, 0%, 41.6%)
CIE-LABlab(29.77, 53.56, -49.74)
CIE-LCHlch(29.77, 73.09, 317.11°)
OKLaboklab(41.89% 0.1213 -0.1411)
OKLCHoklch(41.89% 0.186 310.7)
XYZxyz(12.0000, 6.1422, 28.9814)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1B95 #44951B
analogous
#2F1B95 #6C1B95 #951B81
triadic
#6C1B95 #956C1B #1B956C
tetradic
#6C1B95 #952F1B #44951B #1B8195
square
#6C1B95 #952F1B #44951B #1B8195
split-complementary
#6C1B95 #81951B #1B952F
monochromatic
#21082D #461261 #6C1B95 #9224C9 #AD4CDF

Accessibility & contrast

On white

9.42
#6C1B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6C1B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1B95
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1B95#FFFFFF#000000##FFFFFF
##6C1B951.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#004793
Tritanopia (blue-blind)
#663A59
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6c1b95;
/* rgb */ color: rgb(108, 27, 149);
/* oklch */ color: oklch(41.9% 0.186 310.7);
Tailwind
colors: {
  custom: {
    50: '#9b63b5',
    500: '#6c1b95',
    950: '#000000',
  },
}
SCSS
$custom: #6c1b95;
$custom-light: #9b63b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1b95",
  "rgb": {
    "r": 108,
    "g": 27,
    "b": 149
  },
  "hsl": {
    "h": 279.836,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41887,
    "c": 0.18607,
    "h": 310.7
  },
  "luminance": 0.06142
}

Semantic roles & 50–950 ramp

primary
#6C1B95
secondary
#73C14B
accent
#EC3C77
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C1B95

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

Preview Lab → · Contrast checker → · Palette generator →

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