#6B1CB1#6B1CB1

#6B1CB1 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.2% C 0.211 H 301.7°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#6B1CB1
RGBrgb(107, 28, 177)
HSLhsl(272, 73%, 40%)
HSVhsv(272, 84%, 69%)
CMYKcmyk(39.5%, 84.2%, 0%, 30.6%)
CIE-LABlab(32.10, 59.29, -62.89)
CIE-LCHlch(32.10, 86.43, 313.31°)
OKLaboklab(44.21% 0.1109 -0.1798)
OKLCHoklch(44.21% 0.211 301.7)
XYZxyz(14.4125, 7.1305, 42.2035)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1CB1 #62B11C
analogous
#201CB1 #6B1CB1 #B11CAC
triadic
#6B1CB1 #B16B1C #1CB16B
tetradic
#6B1CB1 #B1201C #62B11C #1CACB1
square
#6B1CB1 #B1201C #62B11C #1CACB1
split-complementary
#6B1CB1 #ACB11C #1CB120
monochromatic
#2B0B47 #4B147C #6B1CB1 #8A2CDE #A861E6

Accessibility & contrast

On white

8.66
#6B1CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6B1CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1CB1
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1CB1#FFFFFF#000000##FFFFFF
##6B1CB11.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b1cb1;
/* rgb */ color: rgb(107, 28, 177);
/* oklch */ color: oklch(44.2% 0.211 301.7);
Tailwind
colors: {
  custom: {
    50: '#9d64c9',
    500: '#6b1cb1',
    950: '#000000',
  },
}
SCSS
$custom: #6b1cb1;
$custom-light: #9d64c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1cb1",
  "rgb": {
    "r": 107,
    "g": 28,
    "b": 177
  },
  "hsl": {
    "h": 271.812,
    "s": 72.683,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4421,
    "c": 0.21121,
    "h": 301.7
  },
  "luminance": 0.07131
}

Semantic roles & 50–950 ramp

primary
#6B1CB1
secondary
#91CB5E
accent
#EF388E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6B1CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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