#6B1885#6B1885

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

Color values

HEX#6B1885
RGBrgb(107, 24, 133)
HSLhsl(286, 69%, 31%)
HSVhsv(286, 82%, 52%)
CMYKcmyk(19.5%, 82%, 0%, 47.8%)
CIE-LABlab(28.04, 51.01, -42.63)
CIE-LCHlch(28.04, 66.48, 320.12°)
OKLaboklab(40.26% 0.1258 -0.1202)
OKLCHoklch(40.26% 0.174 316.3)
XYZxyz(10.6230, 5.4730, 22.6826)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1885 #328518
analogous
#341885 #6B1885 #851868
triadic
#6B1885 #856B18 #18856B
tetradic
#6B1885 #853418 #328518 #186885
square
#6B1885 #853418 #328518 #186885
split-complementary
#6B1885 #688518 #188534
monochromatic
#18051D #410F51 #6B1885 #9521B9 #B63CDC

Accessibility & contrast

On white

10.03
#6B1885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1885
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1885#FFFFFF#000000##FFFFFF
##6B18851.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#174483
Tritanopia (blue-blind)
#69324F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6b1885;
/* rgb */ color: rgb(107, 24, 133);
/* oklch */ color: oklch(40.3% 0.174 316.3);
Tailwind
colors: {
  custom: {
    50: '#9960a9',
    500: '#6b1885',
    950: '#000000',
  },
}
SCSS
$custom: #6b1885;
$custom-light: #9960a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1885",
  "rgb": {
    "r": 107,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 285.688,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40258,
    "c": 0.174,
    "h": 316.3
  },
  "luminance": 0.05473
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B1885

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

Preview Lab → · Contrast checker → · Palette generator →

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