#6B1B92#6B1B92

#6B1B92 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.183 H 311.2°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#6B1B92
RGBrgb(107, 27, 146)
HSLhsl(280, 69%, 34%)
HSVhsv(280, 82%, 57%)
CMYKcmyk(26.7%, 81.5%, 0%, 42.7%)
CIE-LABlab(29.38, 52.73, -48.54)
CIE-LCHlch(29.38, 71.67, 317.37°)
OKLaboklab(41.51% 0.1206 -0.1376)
OKLCHoklch(41.51% 0.183 311.2)
XYZxyz(11.6427, 5.9853, 27.7305)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1B92 #42921B
analogous
#301B92 #6B1B92 #921B7E
triadic
#6B1B92 #926B1B #1B926B
tetradic
#6B1B92 #92301B #42921B #1B7E92
square
#6B1B92 #92301B #42921B #1B7E92
split-complementary
#6B1B92 #7E921B #1B9230
monochromatic
#1F082B #45115E #6B1B92 #9125C6 #AD4ADE

Accessibility & contrast

On white

9.56
#6B1B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6B1B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1B92
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1B92#FFFFFF#000000##FFFFFF
##6B1B921.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#004790
Tritanopia (blue-blind)
#663957
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b1b92;
/* rgb */ color: rgb(107, 27, 146);
/* oklch */ color: oklch(41.5% 0.183 311.2);
Tailwind
colors: {
  custom: {
    50: '#9a62b3',
    500: '#6b1b92',
    950: '#000000',
  },
}
SCSS
$custom: #6b1b92;
$custom-light: #9a62b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1b92",
  "rgb": {
    "r": 107,
    "g": 27,
    "b": 146
  },
  "hsl": {
    "h": 280.336,
    "s": 68.786,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41506,
    "c": 0.183,
    "h": 311.2
  },
  "luminance": 0.05985
}

Semantic roles & 50–950 ramp

primary
#6B1B92
secondary
#70BF49
accent
#EC3C76
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6B1B92

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

Preview Lab → · Contrast checker → · Palette generator →

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