#6C1685#6C1685

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

Color values

HEX#6C1685
RGBrgb(108, 22, 133)
HSLhsl(286, 72%, 30%)
HSVhsv(286, 83%, 52%)
CMYKcmyk(18.8%, 83.5%, 0%, 47.8%)
CIE-LABlab(28.00, 51.82, -42.69)
CIE-LCHlch(28.00, 67.14, 320.52°)
OKLaboklab(40.26% 0.1287 -0.1204)
OKLCHoklch(40.26% 0.176 316.9)
XYZxyz(10.7042, 5.4559, 22.6750)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1685 #2F8516
analogous
#341685 #6C1685 #851667
triadic
#6C1685 #856C16 #16856C
tetradic
#6C1685 #853416 #2F8516 #166785
square
#6C1685 #853416 #2F8516 #166785
split-complementary
#6C1685 #678516 #168534
monochromatic
#17051C #410D50 #6C1685 #971FBA #B837DE

Accessibility & contrast

On white

10.04
#6C1685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1685
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1685#FFFFFF#000000##FFFFFF
##6C16851.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c1685;
/* rgb */ color: rgb(108, 22, 133);
/* oklch */ color: oklch(40.3% 0.176 316.9);
Tailwind
colors: {
  custom: {
    50: '#9a60a9',
    500: '#6c1685',
    950: '#000000',
  },
}
SCSS
$custom: #6c1685;
$custom-light: #9a60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1685",
  "rgb": {
    "r": 108,
    "g": 22,
    "b": 133
  },
  "hsl": {
    "h": 286.486,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40259,
    "c": 0.1762,
    "h": 316.9
  },
  "luminance": 0.05455
}

Semantic roles & 50–950 ramp

primary
#6C1685
secondary
#59B93E
accent
#EE3962
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6C1685

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

Preview Lab → · Contrast checker → · Palette generator →

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