#6D2085#6D2085

#6D2085 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.166 H 316.8°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#6D2085
RGBrgb(109, 32, 133)
HSLhsl(286, 61%, 32%)
HSVhsv(286, 76%, 52%)
CMYKcmyk(18%, 75.9%, 0%, 47.8%)
CIE-LABlab(29.36, 48.57, -40.49)
CIE-LCHlch(29.36, 63.23, 320.19°)
OKLaboklab(41.25% 0.1211 -0.1139)
OKLCHoklch(41.25% 0.166 316.8)
XYZxyz(11.0562, 5.9781, 22.7573)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2085 #388520
analogous
#3B2085 #6D2085 #85206A
triadic
#6D2085 #856D20 #20856D
tetradic
#6D2085 #853B20 #388520 #206A85
square
#6D2085 #853B20 #388520 #206A85
split-complementary
#6D2085 #6A8520 #20853B
monochromatic
#1C0822 #451454 #6D2085 #952CB6 #B34CD4

Accessibility & contrast

On white

9.56
#6D2085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6D2085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2085
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2085#FFFFFF#000000##FFFFFF
##6D20851.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#214783
Tritanopia (blue-blind)
#6C3551
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6d2085;
/* rgb */ color: rgb(109, 32, 133);
/* oklch */ color: oklch(41.3% 0.166 316.8);
Tailwind
colors: {
  custom: {
    50: '#9a64a9',
    500: '#6d2085',
    950: '#000000',
  },
}
SCSS
$custom: #6d2085;
$custom-light: #9a64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2085",
  "rgb": {
    "r": 109,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 285.743,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41253,
    "c": 0.16631,
    "h": 316.8
  },
  "luminance": 0.05978
}

Semantic roles & 50–950 ramp

primary
#6D2085
secondary
#64B74A
accent
#E4436A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D2085

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

Preview Lab → · Contrast checker → · Palette generator →

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