#6D1983#6D1983

#6D1983 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.172 H 318.0°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#6D1983
RGBrgb(109, 25, 131)
HSLhsl(288, 68%, 31%)
HSVhsv(288, 81%, 51%)
CMYKcmyk(16.8%, 80.9%, 0%, 48.6%)
CIE-LABlab(28.34, 50.68, -40.87)
CIE-LCHlch(28.34, 65.10, 321.11°)
OKLaboklab(40.49% 0.1279 -0.115)
OKLCHoklch(40.49% 0.172 318)
XYZxyz(10.7505, 5.5857, 21.9802)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1983 #2F8319
analogous
#381983 #6D1983 #831964
triadic
#6D1983 #836D19 #19836D
tetradic
#6D1983 #833819 #2F8319 #196483
square
#6D1983 #833819 #2F8319 #196483
split-complementary
#6D1983 #648319 #198338
monochromatic
#17051C #420F50 #6D1983 #9823B6 #B93DDA

Accessibility & contrast

On white

9.92
#6D1983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6D1983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1983
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1983#FFFFFF#000000##FFFFFF
##6D19831.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d1983;
/* rgb */ color: rgb(109, 25, 131);
/* oklch */ color: oklch(40.5% 0.172 318.0);
Tailwind
colors: {
  custom: {
    50: '#9b61a8',
    500: '#6d1983',
    950: '#000000',
  },
}
SCSS
$custom: #6d1983;
$custom-light: #9b61a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1983",
  "rgb": {
    "r": 109,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 287.547,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4049,
    "c": 0.17201,
    "h": 318
  },
  "luminance": 0.05585
}

Semantic roles & 50–950 ramp

primary
#6D1983
secondary
#59B741
accent
#EB3D61
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6D1983

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

Preview Lab → · Contrast checker → · Palette generator →

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