#6D1F8F#6D1F8F

#6D1F8F is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.177 H 313.0°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#6D1F8F
RGBrgb(109, 31, 143)
HSLhsl(282, 64%, 34%)
HSVhsv(282, 78%, 56%)
CMYKcmyk(23.8%, 78.3%, 0%, 43.9%)
CIE-LABlab(29.95, 51.05, -45.75)
CIE-LCHlch(29.95, 68.55, 318.14°)
OKLaboklab(41.9% 0.1206 -0.1294)
OKLCHoklch(41.9% 0.177 313)
XYZxyz(11.7537, 6.2147, 26.5617)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1F8F #418F1F
analogous
#351F8F #6D1F8F #8F1F79
triadic
#6D1F8F #8F6D1F #1F8F6D
tetradic
#6D1F8F #8F351F #418F1F #1F798F
square
#6D1F8F #8F351F #418F1F #1F798F
split-complementary
#6D1F8F #798F1F #1F8F35
monochromatic
#20092A #47145D #6D1F8F #932AC1 #AF4FD9

Accessibility & contrast

On white

9.36
#6D1F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6D1F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1F8F
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1F8F#FFFFFF#000000##FFFFFF
##6D1F8F1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#10488D
Tritanopia (blue-blind)
#693956
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6d1f8f;
/* rgb */ color: rgb(109, 31, 143);
/* oklch */ color: oklch(41.9% 0.177 313.0);
Tailwind
colors: {
  custom: {
    50: '#9b64b0',
    500: '#6d1f8f',
    950: '#000000',
  },
}
SCSS
$custom: #6d1f8f;
$custom-light: #9b64b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1f8f",
  "rgb": {
    "r": 109,
    "g": 31,
    "b": 143
  },
  "hsl": {
    "h": 281.786,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.419,
    "c": 0.17684,
    "h": 313
  },
  "luminance": 0.06214
}

Semantic roles & 50–950 ramp

primary
#6D1F8F
secondary
#6FBC4E
accent
#E74073
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6D1F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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