#6B1B8D#6B1B8D

#6B1B8D is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.1% C 0.178 H 313.0°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#6B1B8D
RGBrgb(107, 27, 141)
HSLhsl(282, 68%, 33%)
HSVhsv(282, 81%, 55%)
CMYKcmyk(24.1%, 80.9%, 0%, 44.7%)
CIE-LABlab(28.99, 51.67, -46.08)
CIE-LCHlch(28.99, 69.23, 318.27°)
OKLaboklab(41.11% 0.1217 -0.1304)
OKLCHoklch(41.11% 0.178 313)
XYZxyz(11.2622, 5.8331, 25.7268)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1B8D #3D8D1B
analogous
#321B8D #6B1B8D #8D1B76
triadic
#6B1B8D #8D6B1B #1B8D6B
tetradic
#6B1B8D #8D321B #3D8D1B #1B768D
square
#6B1B8D #8D321B #3D8D1B #1B768D
split-complementary
#6B1B8D #768D1B #1B8D32
monochromatic
#1D0726 #44115A #6B1B8D #9225C0 #AF47DC

Accessibility & contrast

On white

9.69
#6B1B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6B1B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1B8D
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1B8D#FFFFFF#000000##FFFFFF
##6B1B8D1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#09468B
Tritanopia (blue-blind)
#673754
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6b1b8d;
/* rgb */ color: rgb(107, 27, 141);
/* oklch */ color: oklch(41.1% 0.178 313.0);
Tailwind
colors: {
  custom: {
    50: '#9a62af',
    500: '#6b1b8d',
    950: '#000000',
  },
}
SCSS
$custom: #6b1b8d;
$custom-light: #9a62af;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1b8d",
  "rgb": {
    "r": 107,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 282.105,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41112,
    "c": 0.17838,
    "h": 313
  },
  "luminance": 0.05833
}

Semantic roles & 50–950 ramp

primary
#6B1B8D
secondary
#6ABD46
accent
#EB3D71
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B1B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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