#6C2085#6C2085

#6C2085 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.166 H 316.2°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#6C2085
RGBrgb(108, 32, 133)
HSLhsl(285, 61%, 32%)
HSVhsv(285, 76%, 52%)
CMYKcmyk(18.8%, 75.9%, 0%, 47.8%)
CIE-LABlab(29.20, 48.36, -40.75)
CIE-LCHlch(29.20, 63.24, 319.88°)
OKLaboklab(41.11% 0.1198 -0.1148)
OKLCHoklch(41.11% 0.166 316.2)
XYZxyz(10.9338, 5.9151, 22.7515)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2085 #398520
analogous
#3A2085 #6C2085 #85206B
triadic
#6C2085 #856C20 #20856C
tetradic
#6C2085 #853A20 #398520 #206B85
square
#6C2085 #853A20 #398520 #206B85
split-complementary
#6C2085 #6B8520 #20853A
monochromatic
#1C0822 #441454 #6C2085 #942CB6 #B24CD4

Accessibility & contrast

On white

9.62
#6C2085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6C2085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2085
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2085#FFFFFF#000000##FFFFFF
##6C20851.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#1F4783
Tritanopia (blue-blind)
#6A3651
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6c2085;
/* rgb */ color: rgb(108, 32, 133);
/* oklch */ color: oklch(41.1% 0.166 316.2);
Tailwind
colors: {
  custom: {
    50: '#9a64a9',
    500: '#6c2085',
    950: '#000000',
  },
}
SCSS
$custom: #6c2085;
$custom-light: #9a64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2085",
  "rgb": {
    "r": 108,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 285.149,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41107,
    "c": 0.16591,
    "h": 316.2
  },
  "luminance": 0.05915
}

Semantic roles & 50–950 ramp

primary
#6C2085
secondary
#65B74A
accent
#E4436B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C2085

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

Preview Lab → · Contrast checker → · Palette generator →

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