#6A1886#6A1886

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

Color values

HEX#6A1886
RGBrgb(106, 24, 134)
HSLhsl(285, 70%, 31%)
HSVhsv(285, 82%, 53%)
CMYKcmyk(20.9%, 82.1%, 0%, 47.5%)
CIE-LABlab(27.95, 51.02, -43.41)
CIE-LCHlch(27.95, 66.99, 319.61°)
OKLaboklab(40.18% 0.1243 -0.1226)
OKLCHoklch(40.18% 0.175 315.4)
XYZxyz(10.5729, 5.4391, 23.0425)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1886 #348618
analogous
#331886 #6A1886 #86186B
triadic
#6A1886 #866A18 #18866A
tetradic
#6A1886 #863318 #348618 #186B86
square
#6A1886 #863318 #348618 #186B86
split-complementary
#6A1886 #6B8618 #188633
monochromatic
#18051E #410F52 #6A1886 #9321BA #B33CDC

Accessibility & contrast

On white

10.06
#6A1886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A1886
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1886#FFFFFF#000000##FFFFFF
##6A18861.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#134484
Tritanopia (blue-blind)
#683250
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6a1886;
/* rgb */ color: rgb(106, 24, 134);
/* oklch */ color: oklch(40.2% 0.175 315.4);
Tailwind
colors: {
  custom: {
    50: '#9960aa',
    500: '#6a1886',
    950: '#000000',
  },
}
SCSS
$custom: #6a1886;
$custom-light: #9960aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1886",
  "rgb": {
    "r": 106,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 284.727,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40185,
    "c": 0.17453,
    "h": 315.4
  },
  "luminance": 0.05439
}

Semantic roles & 50–950 ramp

primary
#6A1886
secondary
#5FBA40
accent
#EC3B68
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6A1886

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

Preview Lab → · Contrast checker → · Palette generator →

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