#6D1F85#6D1F85

#6D1F85 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.167 H 316.8°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#6D1F85
RGBrgb(109, 31, 133)
HSLhsl(286, 62%, 32%)
HSVhsv(286, 77%, 52%)
CMYKcmyk(18%, 76.7%, 0%, 47.8%)
CIE-LABlab(29.22, 48.96, -40.71)
CIE-LCHlch(29.22, 63.67, 320.26°)
OKLaboklab(41.16% 0.1221 -0.1146)
OKLCHoklch(41.16% 0.167 316.8)
XYZxyz(11.0297, 5.9251, 22.7484)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1F85 #37851F
analogous
#3A1F85 #6D1F85 #851F6A
triadic
#6D1F85 #856D1F #1F856D
tetradic
#6D1F85 #853A1F #37851F #1F6A85
square
#6D1F85 #853A1F #37851F #1F6A85
split-complementary
#6D1F85 #6A851F #1F853A
monochromatic
#1C0822 #441353 #6D1F85 #962BB7 #B44AD5

Accessibility & contrast

On white

9.61
#6D1F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6D1F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1F85
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1F85#FFFFFF#000000##FFFFFF
##6D1F851.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d1f85;
/* rgb */ color: rgb(109, 31, 133);
/* oklch */ color: oklch(41.2% 0.167 316.8);
Tailwind
colors: {
  custom: {
    50: '#9a64a9',
    500: '#6d1f85',
    950: '#000000',
  },
}
SCSS
$custom: #6d1f85;
$custom-light: #9a64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1f85",
  "rgb": {
    "r": 109,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 285.882,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41157,
    "c": 0.16746,
    "h": 316.8
  },
  "luminance": 0.05925
}

Semantic roles & 50–950 ramp

primary
#6D1F85
secondary
#63B749
accent
#E54369
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D1F85

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

Preview Lab → · Contrast checker → · Palette generator →

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