#6B1B93#6B1B93

#6B1B93 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.6% C 0.184 H 310.9°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#6B1B93
RGBrgb(107, 27, 147)
HSLhsl(280, 69%, 34%)
HSVhsv(280, 82%, 58%)
CMYKcmyk(27.2%, 81.6%, 0%, 42.4%)
CIE-LABlab(29.45, 52.95, -49.03)
CIE-LCHlch(29.45, 72.16, 317.20°)
OKLaboklab(41.59% 0.1204 -0.1391)
OKLCHoklch(41.59% 0.184 310.9)
XYZxyz(11.7208, 6.0165, 28.1420)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1B93 #43931B
analogous
#2F1B93 #6B1B93 #931B7F
triadic
#6B1B93 #936B1B #1B936B
tetradic
#6B1B93 #932F1B #43931B #1B7F93
square
#6B1B93 #932F1B #43931B #1B7F93
split-complementary
#6B1B93 #7F931B #1B932F
monochromatic
#20082C #45125F #6B1B93 #9124C7 #AD4BDE

Accessibility & contrast

On white

9.53
#6B1B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1B93
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1B93#FFFFFF#000000##FFFFFF
##6B1B931.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#004791
Tritanopia (blue-blind)
#663A58
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b1b93;
/* rgb */ color: rgb(107, 27, 147);
/* oklch */ color: oklch(41.6% 0.184 310.9);
Tailwind
colors: {
  custom: {
    50: '#9a62b3',
    500: '#6b1b93',
    950: '#000000',
  },
}
SCSS
$custom: #6b1b93;
$custom-light: #9a62b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1b93",
  "rgb": {
    "r": 107,
    "g": 27,
    "b": 147
  },
  "hsl": {
    "h": 280,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41586,
    "c": 0.18392,
    "h": 310.9
  },
  "luminance": 0.06016
}

Semantic roles & 50–950 ramp

primary
#6B1B93
secondary
#71C04A
accent
#EC3C77
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6B1B93

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

Preview Lab → · Contrast checker → · Palette generator →

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