#6D1885#6D1885

#6D1885 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.6% C 0.175 H 317.3°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#6D1885
RGBrgb(109, 24, 133)
HSLhsl(287, 69%, 31%)
HSVhsv(287, 82%, 52%)
CMYKcmyk(18%, 82%, 0%, 47.8%)
CIE-LABlab(28.38, 51.40, -42.07)
CIE-LCHlch(28.38, 66.42, 320.70°)
OKLaboklab(40.56% 0.1284 -0.1185)
OKLCHoklch(40.56% 0.175 317.3)
XYZxyz(10.8663, 5.5984, 22.6940)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1885 #308518
analogous
#361885 #6D1885 #851866
triadic
#6D1885 #856D18 #18856D
tetradic
#6D1885 #853618 #308518 #186685
square
#6D1885 #853618 #308518 #186685
split-complementary
#6D1885 #668518 #188536
monochromatic
#18051D #430F51 #6D1885 #9721B9 #B83CDC

Accessibility & contrast

On white

9.91
#6D1885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6D1885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1885
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1885#FFFFFF#000000##FFFFFF
##6D18851.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#1A4583
Tritanopia (blue-blind)
#6C314F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6d1885;
/* rgb */ color: rgb(109, 24, 133);
/* oklch */ color: oklch(40.6% 0.175 317.3);
Tailwind
colors: {
  custom: {
    50: '#9b61a9',
    500: '#6d1885',
    950: '#000000',
  },
}
SCSS
$custom: #6d1885;
$custom-light: #9b61a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1885",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 286.789,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40559,
    "c": 0.17473,
    "h": 317.3
  },
  "luminance": 0.05598
}

Semantic roles & 50–950 ramp

primary
#6D1885
secondary
#5BB940
accent
#EC3C62
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6D1885

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

Preview Lab → · Contrast checker → · Palette generator →

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