#6B1B99#6B1B99

#6B1B99 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.1% C 0.189 H 308.8°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#6B1B99
RGBrgb(107, 27, 153)
HSLhsl(278, 70%, 35%)
HSVhsv(278, 82%, 60%)
CMYKcmyk(30.1%, 82.4%, 0%, 40%)
CIE-LABlab(29.94, 54.25, -51.93)
CIE-LCHlch(29.94, 75.09, 316.25°)
OKLaboklab(42.07% 0.1189 -0.1476)
OKLCHoklch(42.07% 0.189 308.8)
XYZxyz(12.2039, 6.2098, 30.6865)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1B99 #49991B
analogous
#2C1B99 #6B1B99 #991B88
triadic
#6B1B99 #996B1B #1B996B
tetradic
#6B1B99 #992C1B #49991B #1B8899
square
#6B1B99 #992C1B #49991B #1B8899
split-complementary
#6B1B99 #88991B #1B992C
monochromatic
#220931 #471265 #6B1B99 #8F24CD #AB4FE0

Accessibility & contrast

On white

9.37
#6B1B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6B1B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1B99
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1B99#FFFFFF#000000##FFFFFF
##6B1B991.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#643C5B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6b1b99;
/* rgb */ color: rgb(107, 27, 153);
/* oklch */ color: oklch(42.1% 0.189 308.8);
Tailwind
colors: {
  custom: {
    50: '#9a63b8',
    500: '#6b1b99',
    950: '#000000',
  },
}
SCSS
$custom: #6b1b99;
$custom-light: #9a63b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1b99",
  "rgb": {
    "r": 107,
    "g": 27,
    "b": 153
  },
  "hsl": {
    "h": 278.095,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42073,
    "c": 0.18949,
    "h": 308.8
  },
  "luminance": 0.0621
}

Semantic roles & 50–950 ramp

primary
#6B1B99
secondary
#78C24E
accent
#ED3B7C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6B1B99

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

Preview Lab → · Contrast checker → · Palette generator →

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