#6B1880#6B1880

#6B1880 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.9% C 0.170 H 318.3°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#6B1880
RGBrgb(107, 24, 128)
HSLhsl(288, 68%, 30%)
HSVhsv(288, 81%, 50%)
CMYKcmyk(16.4%, 81.3%, 0%, 49.8%)
CIE-LABlab(27.68, 50.01, -40.08)
CIE-LCHlch(27.68, 64.08, 321.29°)
OKLaboklab(39.89% 0.1266 -0.1127)
OKLCHoklch(39.89% 0.17 318.3)
XYZxyz(10.2858, 5.3381, 20.9064)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1880 #2D8018
analogous
#371880 #6B1880 #801861
triadic
#6B1880 #806B18 #18806B
tetradic
#6B1880 #803718 #2D8018 #186180
square
#6B1880 #803718 #2D8018 #186180
split-complementary
#6B1880 #618018 #188037
monochromatic
#16051A #400E4C #6B1880 #9622B4 #B939DA

Accessibility & contrast

On white

10.16
#6B1880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#6B1880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1880
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1880#FFFFFF#000000##FFFFFF
##6B18801.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#1E447E
Tritanopia (blue-blind)
#6A2F4C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6b1880;
/* rgb */ color: rgb(107, 24, 128);
/* oklch */ color: oklch(39.9% 0.170 318.3);
Tailwind
colors: {
  custom: {
    50: '#9960a5',
    500: '#6b1880',
    950: '#000000',
  },
}
SCSS
$custom: #6b1880;
$custom-light: #9960a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1880",
  "rgb": {
    "r": 107,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 287.885,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39886,
    "c": 0.16955,
    "h": 318.3
  },
  "luminance": 0.05338
}

Semantic roles & 50–950 ramp

primary
#6B1880
secondary
#57B440
accent
#EB3D60
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6B1880

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

Preview Lab → · Contrast checker → · Palette generator →

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