#6C1BB3#6C1BB3

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

Color values

HEX#6C1BB3
RGBrgb(108, 27, 179)
HSLhsl(272, 74%, 40%)
HSVhsv(272, 85%, 70%)
CMYKcmyk(39.7%, 84.9%, 0%, 29.8%)
CIE-LABlab(32.32, 60.19, -63.72)
CIE-LCHlch(32.32, 87.66, 313.37°)
OKLaboklab(44.44% 0.1123 -0.1822)
OKLCHoklch(44.44% 0.214 301.6)
XYZxyz(14.7110, 7.2266, 43.2589)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1BB3 #62B31B
analogous
#201BB3 #6C1BB3 #B31BAE
triadic
#6C1BB3 #B36C1B #1BB36C
tetradic
#6C1BB3 #B3201B #62B31B #1BAEB3
square
#6C1BB3 #B3201B #62B31B #1BAEB3
split-complementary
#6C1BB3 #AEB31B #1BB320
monochromatic
#2C0B49 #4C137E #6C1BB3 #8B2CDF #A961E7

Accessibility & contrast

On white

8.59
#6C1BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1BB3
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1BB3#FFFFFF#000000##FFFFFF
##6C1BB31.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#5C486A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6c1bb3;
/* rgb */ color: rgb(108, 27, 179);
/* oklch */ color: oklch(44.4% 0.214 301.6);
Tailwind
colors: {
  custom: {
    50: '#9d64cb',
    500: '#6c1bb3',
    950: '#000000',
  },
}
SCSS
$custom: #6c1bb3;
$custom-light: #9d64cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1bb3",
  "rgb": {
    "r": 108,
    "g": 27,
    "b": 179
  },
  "hsl": {
    "h": 271.974,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44442,
    "c": 0.214,
    "h": 301.6
  },
  "luminance": 0.07227
}

Semantic roles & 50–950 ramp

primary
#6C1BB3
secondary
#91CC5E
accent
#F0378E
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6C1BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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