#6D317D#6D317D

#6D317D is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.7% C 0.134 H 318.7°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#6D317D
RGBrgb(109, 49, 125)
HSLhsl(287, 44%, 34%)
HSVhsv(287, 61%, 49%)
CMYKcmyk(12.8%, 60.8%, 0%, 51%)
CIE-LABlab(31.64, 39.08, -31.83)
CIE-LCHlch(31.64, 50.40, 320.84°)
OKLaboklab(42.74% 0.1011 -0.0887)
OKLCHoklch(42.74% 0.134 318.7)
XYZxyz(11.1062, 6.9290, 20.1505)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D317D #417D31
analogous
#47317D #6D317D #7D3167
triadic
#6D317D #7D6D31 #317D6D
tetradic
#6D317D #7D4731 #417D31 #31677D
square
#6D317D #7D4731 #417D31 #31677D
split-complementary
#6D317D #677D31 #317D47
monochromatic
#200F25 #472051 #6D317D #9342A9 #AF66C3

Accessibility & contrast

On white

8.80
#6D317D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6D317D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D317D
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D317D#FFFFFF#000000##FFFFFF
##6D317D1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F467F
Deuteranopia (green-blind)
#354C7B
Tritanopia (blue-blind)
#6D3D52
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6d317d;
/* rgb */ color: rgb(109, 49, 125);
/* oklch */ color: oklch(42.7% 0.134 318.7);
Tailwind
colors: {
  custom: {
    50: '#996da3',
    500: '#6d317d',
    950: '#000000',
  },
}
SCSS
$custom: #6d317d;
$custom-light: #996da3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d317d",
  "rgb": {
    "r": 109,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 287.368,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42735,
    "c": 0.13449,
    "h": 318.7
  },
  "luminance": 0.06929
}

Semantic roles & 50–950 ramp

primary
#6D317D
secondary
#6FAA60
accent
#D3546F
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6D317D

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

Preview Lab → · Contrast checker → · Palette generator →

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