#6C1985#6C1985

#6C1985 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.173 H 316.7°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#6C1985
RGBrgb(108, 25, 133)
HSLhsl(286, 68%, 31%)
HSVhsv(286, 81%, 52%)
CMYKcmyk(18.8%, 81.2%, 0%, 47.8%)
CIE-LABlab(28.32, 50.88, -42.17)
CIE-LCHlch(28.32, 66.08, 320.35°)
OKLaboklab(40.49% 0.1263 -0.1189)
OKLCHoklch(40.49% 0.173 316.7)
XYZxyz(10.7650, 5.5773, 22.6952)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1985 #328519
analogous
#361985 #6C1985 #851968
triadic
#6C1985 #856C19 #19856C
tetradic
#6C1985 #853619 #328519 #196885
square
#6C1985 #853619 #328519 #196885
split-complementary
#6C1985 #688519 #198536
monochromatic
#18061E #420F51 #6C1985 #9623B9 #B63EDB

Accessibility & contrast

On white

9.93
#6C1985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1985
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1985#FFFFFF#000000##FFFFFF
##6C19851.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.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: #6c1985;
/* rgb */ color: rgb(108, 25, 133);
/* oklch */ color: oklch(40.5% 0.173 316.7);
Tailwind
colors: {
  custom: {
    50: '#9a61a9',
    500: '#6c1985',
    950: '#000000',
  },
}
SCSS
$custom: #6c1985;
$custom-light: #9a61a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1985",
  "rgb": {
    "r": 108,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 286.111,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40487,
    "c": 0.1734,
    "h": 316.7
  },
  "luminance": 0.05577
}

Semantic roles & 50–950 ramp

primary
#6C1985
secondary
#5DB941
accent
#EB3D65
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6C1985

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

Preview Lab → · Contrast checker → · Palette generator →

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