#6D1A85#6D1A85

#6D1A85 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.173 H 317.2°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#6D1A85
RGBrgb(109, 26, 133)
HSLhsl(287, 67%, 31%)
HSVhsv(287, 80%, 52%)
CMYKcmyk(18%, 80.5%, 0%, 47.8%)
CIE-LABlab(28.60, 50.75, -41.71)
CIE-LCHlch(28.60, 65.69, 320.58°)
OKLaboklab(40.72% 0.1267 -0.1175)
OKLCHoklch(40.72% 0.173 317.2)
XYZxyz(10.9091, 5.6839, 22.7082)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1A85 #32851A
analogous
#371A85 #6D1A85 #851A67
triadic
#6D1A85 #856D1A #1A856D
tetradic
#6D1A85 #85371A #32851A #1A6785
square
#6D1A85 #85371A #32851A #1A6785
split-complementary
#6D1A85 #67851A #1A8537
monochromatic
#19061F #431052 #6D1A85 #9724B8 #B740DA

Accessibility & contrast

On white

9.83
#6D1A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#6D1A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1A85
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1A85#FFFFFF#000000##FFFFFF
##6D1A851.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#1C4683
Tritanopia (blue-blind)
#6C324F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6d1a85;
/* rgb */ color: rgb(109, 26, 133);
/* oklch */ color: oklch(40.7% 0.173 317.2);
Tailwind
colors: {
  custom: {
    50: '#9b61a9',
    500: '#6d1a85',
    950: '#000000',
  },
}
SCSS
$custom: #6d1a85;
$custom-light: #9b61a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1a85",
  "rgb": {
    "r": 109,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 286.542,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40718,
    "c": 0.17279,
    "h": 317.2
  },
  "luminance": 0.05683
}

Semantic roles & 50–950 ramp

primary
#6D1A85
secondary
#5DB842
accent
#EA3E64
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6D1A85

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

Preview Lab → · Contrast checker → · Palette generator →

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