#6D1880#6D1880

#6D1880 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.170 H 319.3°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#6D1880
RGBrgb(109, 24, 128)
HSLhsl(289, 68%, 30%)
HSVhsv(289, 81%, 50%)
CMYKcmyk(14.8%, 81.3%, 0%, 49.8%)
CIE-LABlab(28.02, 50.41, -39.51)
CIE-LCHlch(28.02, 64.05, 321.91°)
OKLaboklab(40.19% 0.1292 -0.111)
OKLCHoklch(40.19% 0.17 319.3)
XYZxyz(10.5291, 5.4635, 20.9178)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1880 #2B8018
analogous
#391880 #6D1880 #80185F
triadic
#6D1880 #806D18 #18806D
tetradic
#6D1880 #803918 #2B8018 #185F80
square
#6D1880 #803918 #2B8018 #185F80
split-complementary
#6D1880 #5F8018 #188039
monochromatic
#16051A #410E4C #6D1880 #9922B4 #BC39DA

Accessibility & contrast

On white

10.04
#6D1880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#6D1880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1880
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1880#FFFFFF#000000##FFFFFF
##6D18801.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D83
Deuteranopia (green-blind)
#21457E
Tritanopia (blue-blind)
#6D2F4C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6d1880;
/* rgb */ color: rgb(109, 24, 128);
/* oklch */ color: oklch(40.2% 0.170 319.3);
Tailwind
colors: {
  custom: {
    50: '#9b60a5',
    500: '#6d1880',
    950: '#000000',
  },
}
SCSS
$custom: #6d1880;
$custom-light: #9b60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1880",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 289.038,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40192,
    "c": 0.17034,
    "h": 319.3
  },
  "luminance": 0.05463
}

Semantic roles & 50–950 ramp

primary
#6D1880
secondary
#55B440
accent
#EB3D5C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6D1880

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

Preview Lab → · Contrast checker → · Palette generator →

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