#6B1886#6B1886

#6B1886 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.175 H 315.9°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#6B1886
RGBrgb(107, 24, 134)
HSLhsl(285, 70%, 31%)
HSVhsv(285, 82%, 53%)
CMYKcmyk(20.1%, 82.1%, 0%, 47.5%)
CIE-LABlab(28.12, 51.21, -43.13)
CIE-LCHlch(28.12, 66.96, 319.90°)
OKLaboklab(40.33% 0.1256 -0.1217)
OKLCHoklch(40.33% 0.175 315.9)
XYZxyz(10.6924, 5.5007, 23.0482)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1886 #338618
analogous
#341886 #6B1886 #86186A
triadic
#6B1886 #866B18 #18866B
tetradic
#6B1886 #863418 #338618 #186A86
square
#6B1886 #863418 #338618 #186A86
split-complementary
#6B1886 #6A8618 #188634
monochromatic
#18051E #420F52 #6B1886 #9421BA #B53CDC

Accessibility & contrast

On white

10.00
#6B1886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6B1886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1886
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1886#FFFFFF#000000##FFFFFF
##6B18861.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#154484
Tritanopia (blue-blind)
#693250
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6b1886;
/* rgb */ color: rgb(107, 24, 134);
/* oklch */ color: oklch(40.3% 0.175 315.9);
Tailwind
colors: {
  custom: {
    50: '#9960aa',
    500: '#6b1886',
    950: '#000000',
  },
}
SCSS
$custom: #6b1886;
$custom-light: #9960aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1886",
  "rgb": {
    "r": 107,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 285.273,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40334,
    "c": 0.1749,
    "h": 315.9
  },
  "luminance": 0.055
}

Semantic roles & 50–950 ramp

primary
#6B1886
secondary
#5EBA40
accent
#EC3B67
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6B1886

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

Preview Lab → · Contrast checker → · Palette generator →

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