#6B1480#6B1480

#6B1480 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.6% C 0.173 H 318.5°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#6B1480
RGBrgb(107, 20, 128)
HSLhsl(288, 73%, 29%)
HSVhsv(288, 84%, 50%)
CMYKcmyk(16.4%, 84.4%, 0%, 49.8%)
CIE-LABlab(27.26, 51.23, -40.76)
CIE-LCHlch(27.26, 65.47, 321.50°)
OKLaboklab(39.59% 0.1298 -0.1147)
OKLCHoklch(39.59% 0.173 318.5)
XYZxyz(10.2093, 5.1851, 20.8810)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1480 #298014
analogous
#351480 #6B1480 #80145F
triadic
#6B1480 #806B14 #14806B
tetradic
#6B1480 #803514 #298014 #145F80
square
#6B1480 #803514 #298014 #145F80
split-complementary
#6B1480 #5F8014 #148035
monochromatic
#16041A #3F0C4B #6B1480 #971CB5 #BD30DF

Accessibility & contrast

On white

10.31
#6B1480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#6B1480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1480
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1480#FFFFFF#000000##FFFFFF
##6B14801.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#1B437E
Tritanopia (blue-blind)
#6A2E4B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6b1480;
/* rgb */ color: rgb(107, 20, 128);
/* oklch */ color: oklch(39.6% 0.173 318.5);
Tailwind
colors: {
  custom: {
    50: '#995fa5',
    500: '#6b1480',
    950: '#000000',
  },
}
SCSS
$custom: #6b1480;
$custom-light: #995fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1480",
  "rgb": {
    "r": 107,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 288.333,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3959,
    "c": 0.17323,
    "h": 318.5
  },
  "luminance": 0.05185
}

Semantic roles & 50–950 ramp

primary
#6B1480
secondary
#52B53B
accent
#F0385C
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6B1480

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

Preview Lab → · Contrast checker → · Palette generator →

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