#6D1B83#6D1B83

#6D1B83 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.170 H 317.9°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#6D1B83
RGBrgb(109, 27, 131)
HSLhsl(287, 66%, 31%)
HSVhsv(287, 79%, 51%)
CMYKcmyk(16.8%, 79.4%, 0%, 48.6%)
CIE-LABlab(28.58, 50.00, -40.50)
CIE-LCHlch(28.58, 64.34, 321.00°)
OKLaboklab(40.65% 0.1261 -0.1139)
OKLCHoklch(40.65% 0.17 317.9)
XYZxyz(10.7948, 5.6743, 21.9950)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1B83 #31831B
analogous
#391B83 #6D1B83 #831B65
triadic
#6D1B83 #836D1B #1B836D
tetradic
#6D1B83 #83391B #31831B #1B6583
square
#6D1B83 #83391B #31831B #1B6583
split-complementary
#6D1B83 #65831B #1B8339
monochromatic
#19061E #431150 #6D1B83 #9725B6 #B841D8

Accessibility & contrast

On white

9.84
#6D1B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6D1B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1B83
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1B83#FFFFFF#000000##FFFFFF
##6D1B831.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#1F4681
Tritanopia (blue-blind)
#6C324F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6d1b83;
/* rgb */ color: rgb(109, 27, 131);
/* oklch */ color: oklch(40.7% 0.170 317.9);
Tailwind
colors: {
  custom: {
    50: '#9b62a8',
    500: '#6d1b83',
    950: '#000000',
  },
}
SCSS
$custom: #6d1b83;
$custom-light: #9b62a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1b83",
  "rgb": {
    "r": 109,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 287.308,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40654,
    "c": 0.16998,
    "h": 317.9
  },
  "luminance": 0.05674
}

Semantic roles & 50–950 ramp

primary
#6D1B83
secondary
#5CB643
accent
#E93F63
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D1B83

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

Preview Lab → · Contrast checker → · Palette generator →

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