#6B1884#6B1884

#6B1884 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.2% C 0.173 H 316.7°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#6B1884
RGBrgb(107, 24, 132)
HSLhsl(286, 69%, 31%)
HSVhsv(286, 82%, 52%)
CMYKcmyk(18.9%, 81.8%, 0%, 48.2%)
CIE-LABlab(27.97, 50.81, -42.12)
CIE-LCHlch(27.97, 66.00, 320.34°)
OKLaboklab(40.18% 0.126 -0.1187)
OKLCHoklch(40.18% 0.173 316.7)
XYZxyz(10.5543, 5.4455, 22.3205)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1884 #318418
analogous
#351884 #6B1884 #841867
triadic
#6B1884 #846B18 #18846B
tetradic
#6B1884 #843518 #318418 #186784
square
#6B1884 #843518 #318418 #186784
split-complementary
#6B1884 #678418 #188435
monochromatic
#17051C #410F50 #6B1884 #9521B8 #B63BDB

Accessibility & contrast

On white

10.05
#6B1884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#6B1884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1884
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1884#FFFFFF#000000##FFFFFF
##6B18841.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#184482
Tritanopia (blue-blind)
#69314E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6b1884;
/* rgb */ color: rgb(107, 24, 132);
/* oklch */ color: oklch(40.2% 0.173 316.7);
Tailwind
colors: {
  custom: {
    50: '#9960a8',
    500: '#6b1884',
    950: '#000000',
  },
}
SCSS
$custom: #6b1884;
$custom-light: #9960a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1884",
  "rgb": {
    "r": 107,
    "g": 24,
    "b": 132
  },
  "hsl": {
    "h": 286.111,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40183,
    "c": 0.17311,
    "h": 316.7
  },
  "luminance": 0.05445
}

Semantic roles & 50–950 ramp

primary
#6B1884
secondary
#5CB840
accent
#EC3C65
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6B1884

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

Preview Lab → · Contrast checker → · Palette generator →

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