#6A1884#6A1884

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

Color values

HEX#6A1884
RGBrgb(106, 24, 132)
HSLhsl(286, 69%, 31%)
HSVhsv(286, 82%, 52%)
CMYKcmyk(19.7%, 81.8%, 0%, 48.2%)
CIE-LABlab(27.80, 50.62, -42.40)
CIE-LCHlch(27.80, 66.03, 320.05°)
OKLaboklab(40.03% 0.1247 -0.1196)
OKLCHoklch(40.03% 0.173 316.2)
XYZxyz(10.4347, 5.3838, 22.3148)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1884 #328418
analogous
#341884 #6A1884 #841868
triadic
#6A1884 #846A18 #18846A
tetradic
#6A1884 #843418 #328418 #186884
square
#6A1884 #843418 #328418 #186884
split-complementary
#6A1884 #688418 #188434
monochromatic
#17051C #400F50 #6A1884 #9421B8 #B53BDB

Accessibility & contrast

On white

10.11
#6A1884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#6A1884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1884
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1884#FFFFFF#000000##FFFFFF
##6A18841.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a1884;
/* rgb */ color: rgb(106, 24, 132);
/* oklch */ color: oklch(40.0% 0.173 316.2);
Tailwind
colors: {
  custom: {
    50: '#9960a8',
    500: '#6a1884',
    950: '#000000',
  },
}
SCSS
$custom: #6a1884;
$custom-light: #9960a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1884",
  "rgb": {
    "r": 106,
    "g": 24,
    "b": 132
  },
  "hsl": {
    "h": 285.556,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40033,
    "c": 0.17275,
    "h": 316.2
  },
  "luminance": 0.05383
}

Semantic roles & 50–950 ramp

primary
#6A1884
secondary
#5DB840
accent
#EC3C66
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6A1884

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

Preview Lab → · Contrast checker → · Palette generator →

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