#6B1B96#6B1B96

#6B1B96 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.187 H 309.8°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#6B1B96
RGBrgb(107, 27, 150)
HSLhsl(279, 69%, 35%)
HSVhsv(279, 82%, 59%)
CMYKcmyk(28.7%, 82%, 0%, 41.2%)
CIE-LABlab(29.69, 53.60, -50.48)
CIE-LCHlch(29.69, 73.63, 316.71°)
OKLaboklab(41.83% 0.1196 -0.1433)
OKLCHoklch(41.83% 0.187 309.8)
XYZxyz(11.9593, 6.1119, 29.3980)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1B96 #46961B
analogous
#2D1B96 #6B1B96 #961B84
triadic
#6B1B96 #966B1B #1B966B
tetradic
#6B1B96 #962D1B #46961B #1B8496
square
#6B1B96 #962D1B #46961B #1B8496
split-complementary
#6B1B96 #84961B #1B962D
monochromatic
#21082E #461262 #6B1B96 #9024CA #AC4DDF

Accessibility & contrast

On white

9.45
#6B1B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6B1B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1B96
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1B96#FFFFFF#000000##FFFFFF
##6B1B961.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#653B59
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6b1b96;
/* rgb */ color: rgb(107, 27, 150);
/* oklch */ color: oklch(41.8% 0.187 309.8);
Tailwind
colors: {
  custom: {
    50: '#9a62b6',
    500: '#6b1b96',
    950: '#000000',
  },
}
SCSS
$custom: #6b1b96;
$custom-light: #9a62b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1b96",
  "rgb": {
    "r": 107,
    "g": 27,
    "b": 150
  },
  "hsl": {
    "h": 279.024,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41828,
    "c": 0.1867,
    "h": 309.8
  },
  "luminance": 0.06112
}

Semantic roles & 50–950 ramp

primary
#6B1B96
secondary
#75C14C
accent
#EC3B79
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6B1B96

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

Preview Lab → · Contrast checker → · Palette generator →

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