#6C1885#6C1885

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

Color values

HEX#6C1885
RGBrgb(108, 24, 133)
HSLhsl(286, 69%, 31%)
HSVhsv(286, 82%, 52%)
CMYKcmyk(18.8%, 82%, 0%, 47.8%)
CIE-LABlab(28.21, 51.20, -42.35)
CIE-LCHlch(28.21, 66.45, 320.41°)
OKLaboklab(40.41% 0.1271 -0.1194)
OKLCHoklch(40.41% 0.174 316.8)
XYZxyz(10.7440, 5.5353, 22.6882)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1885 #318518
analogous
#361885 #6C1885 #851867
triadic
#6C1885 #856C18 #18856C
tetradic
#6C1885 #853618 #318518 #186785
square
#6C1885 #853618 #318518 #186785
split-complementary
#6C1885 #678518 #188536
monochromatic
#18051D #420F51 #6C1885 #9621B9 #B73CDC

Accessibility & contrast

On white

9.97
#6C1885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6C1885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1885
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1885#FFFFFF#000000##FFFFFF
##6C18851.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#194583
Tritanopia (blue-blind)
#6B324F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6c1885;
/* rgb */ color: rgb(108, 24, 133);
/* oklch */ color: oklch(40.4% 0.174 316.8);
Tailwind
colors: {
  custom: {
    50: '#9a61a9',
    500: '#6c1885',
    950: '#000000',
  },
}
SCSS
$custom: #6c1885;
$custom-light: #9a61a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1885",
  "rgb": {
    "r": 108,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 286.239,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40409,
    "c": 0.17437,
    "h": 316.8
  },
  "luminance": 0.05535
}

Semantic roles & 50–950 ramp

primary
#6C1885
secondary
#5CB940
accent
#EC3C64
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6C1885

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

Preview Lab → · Contrast checker → · Palette generator →

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