#6D1882#6D1882

#6D1882 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.172 H 318.5°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#6D1882
RGBrgb(109, 24, 130)
HSLhsl(288, 69%, 30%)
HSVhsv(288, 82%, 51%)
CMYKcmyk(16.2%, 81.5%, 0%, 49%)
CIE-LABlab(28.16, 50.80, -40.54)
CIE-LCHlch(28.16, 64.99, 321.41°)
OKLaboklab(40.34% 0.1289 -0.114)
OKLCHoklch(40.34% 0.172 318.5)
XYZxyz(10.6620, 5.5167, 21.6180)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1882 #2D8218
analogous
#381882 #6D1882 #821862
triadic
#6D1882 #826D18 #18826D
tetradic
#6D1882 #823818 #2D8218 #186282
square
#6D1882 #823818 #2D8218 #186282
split-complementary
#6D1882 #628218 #188238
monochromatic
#16051B #420E4E #6D1882 #9822B6 #BB3ADB

Accessibility & contrast

On white

9.98
#6D1882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6D1882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1882
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1882#FFFFFF#000000##FFFFFF
##6D18821.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#1E4580
Tritanopia (blue-blind)
#6C304D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6d1882;
/* rgb */ color: rgb(109, 24, 130);
/* oklch */ color: oklch(40.3% 0.172 318.5);
Tailwind
colors: {
  custom: {
    50: '#9b61a7',
    500: '#6d1882',
    950: '#000000',
  },
}
SCSS
$custom: #6d1882;
$custom-light: #9b61a7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1882",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 130
  },
  "hsl": {
    "h": 288.113,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40338,
    "c": 0.17209,
    "h": 318.5
  },
  "luminance": 0.05516
}

Semantic roles & 50–950 ramp

primary
#6D1882
secondary
#57B640
accent
#EC3C5F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6D1882

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

Preview Lab → · Contrast checker → · Palette generator →

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