#6D1E82#6D1E82

#6D1E82 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.166 H 318.1°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#6D1E82
RGBrgb(109, 30, 130)
HSLhsl(287, 63%, 31%)
HSVhsv(287, 77%, 51%)
CMYKcmyk(16.2%, 76.9%, 0%, 49%)
CIE-LABlab(28.88, 48.72, -39.38)
CIE-LCHlch(28.88, 62.64, 321.05°)
OKLaboklab(40.85% 0.1235 -0.1107)
OKLCHoklch(40.85% 0.166 318.1)
XYZxyz(10.7996, 5.7920, 21.6639)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1E82 #33821E
analogous
#3B1E82 #6D1E82 #821E65
triadic
#6D1E82 #826D1E #1E826D
tetradic
#6D1E82 #823B1E #33821E #1E6582
square
#6D1E82 #823B1E #33821E #1E6582
split-complementary
#6D1E82 #65821E #1E823B
monochromatic
#1A071F #431350 #6D1E82 #9729B4 #B646D4

Accessibility & contrast

On white

9.73
#6D1E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6D1E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1E82
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1E82#FFFFFF#000000##FFFFFF
##6D1E821.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#234780
Tritanopia (blue-blind)
#6C334F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6d1e82;
/* rgb */ color: rgb(109, 30, 130);
/* oklch */ color: oklch(40.8% 0.166 318.1);
Tailwind
colors: {
  custom: {
    50: '#9a63a7',
    500: '#6d1e82',
    950: '#000000',
  },
}
SCSS
$custom: #6d1e82;
$custom-light: #9a63a7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1e82",
  "rgb": {
    "r": 109,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 287.4,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40849,
    "c": 0.16581,
    "h": 318.1
  },
  "luminance": 0.05791
}

Semantic roles & 50–950 ramp

primary
#6D1E82
secondary
#5EB547
accent
#E64265
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6D1E82

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

Preview Lab → · Contrast checker → · Palette generator →

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