#6C1785#6C1785

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

Color values

HEX#6C1785
RGBrgb(108, 23, 133)
HSLhsl(286, 71%, 31%)
HSVhsv(286, 83%, 52%)
CMYKcmyk(18.8%, 82.7%, 0%, 47.8%)
CIE-LABlab(28.10, 51.52, -42.52)
CIE-LCHlch(28.10, 66.80, 320.46°)
OKLaboklab(40.33% 0.1279 -0.1199)
OKLCHoklch(40.33% 0.175 316.8)
XYZxyz(10.7237, 5.4949, 22.6815)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1785 #308517
analogous
#351785 #6C1785 #851767
triadic
#6C1785 #856C17 #17856C
tetradic
#6C1785 #853517 #308517 #176785
square
#6C1785 #853517 #308517 #176785
split-complementary
#6C1785 #678517 #178535
monochromatic
#17051D #420E51 #6C1785 #9620B9 #B83ADD

Accessibility & contrast

On white

10.01
#6C1785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1785
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1785#FFFFFF#000000##FFFFFF
##6C17851.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#184583
Tritanopia (blue-blind)
#6B314F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6c1785;
/* rgb */ color: rgb(108, 23, 133);
/* oklch */ color: oklch(40.3% 0.175 316.8);
Tailwind
colors: {
  custom: {
    50: '#9a60a9',
    500: '#6c1785',
    950: '#000000',
  },
}
SCSS
$custom: #6c1785;
$custom-light: #9a60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1785",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 286.364,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40333,
    "c": 0.17529,
    "h": 316.8
  },
  "luminance": 0.05494
}

Semantic roles & 50–950 ramp

primary
#6C1785
secondary
#5BB93F
accent
#ED3B63
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6C1785

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

Preview Lab → · Contrast checker → · Palette generator →

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