#6D1F83#6D1F83

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

Color values

HEX#6D1F83
RGBrgb(109, 31, 131)
HSLhsl(287, 62%, 32%)
HSVhsv(287, 76%, 51%)
CMYKcmyk(16.8%, 76.3%, 0%, 48.6%)
CIE-LABlab(29.08, 48.54, -39.68)
CIE-LCHlch(29.08, 62.70, 320.74°)
OKLaboklab(41.01% 0.1224 -0.1116)
OKLCHoklch(41.01% 0.166 317.6)
XYZxyz(10.8928, 5.8704, 22.0276)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1F83 #35831F
analogous
#3B1F83 #6D1F83 #831F67
triadic
#6D1F83 #836D1F #1F836D
tetradic
#6D1F83 #833B1F #35831F #1F6783
square
#6D1F83 #833B1F #35831F #1F6783
split-complementary
#6D1F83 #67831F #1F833B
monochromatic
#1B0820 #441352 #6D1F83 #962BB4 #B549D4

Accessibility & contrast

On white

9.66
#6D1F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6D1F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1F83
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1F83#FFFFFF#000000##FFFFFF
##6D1F831.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#224781
Tritanopia (blue-blind)
#6C344F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6d1f83;
/* rgb */ color: rgb(109, 31, 131);
/* oklch */ color: oklch(41.0% 0.166 317.6);
Tailwind
colors: {
  custom: {
    50: '#9a63a8',
    500: '#6d1f83',
    950: '#000000',
  },
}
SCSS
$custom: #6d1f83;
$custom-light: #9a63a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1f83",
  "rgb": {
    "r": 109,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 286.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41014,
    "c": 0.1656,
    "h": 317.6
  },
  "luminance": 0.0587
}

Semantic roles & 50–950 ramp

primary
#6D1F83
secondary
#60B648
accent
#E54367
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6D1F83

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

Preview Lab → · Contrast checker → · Palette generator →

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