#6B1780#6B1780

#6B1780 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.171 H 318.4°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#6B1780
RGBrgb(107, 23, 128)
HSLhsl(288, 70%, 30%)
HSVhsv(288, 82%, 50%)
CMYKcmyk(16.4%, 82%, 0%, 49.8%)
CIE-LABlab(27.57, 50.33, -40.25)
CIE-LCHlch(27.57, 64.45, 321.35°)
OKLaboklab(39.81% 0.1275 -0.1133)
OKLCHoklch(39.81% 0.171 318.4)
XYZxyz(10.2655, 5.2976, 20.8997)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1780 #2C8017
analogous
#371780 #6B1780 #801761
triadic
#6B1780 #806B17 #17806B
tetradic
#6B1780 #803717 #2C8017 #176180
square
#6B1780 #803717 #2C8017 #176180
split-complementary
#6B1780 #618017 #178037
monochromatic
#16051A #400E4C #6B1780 #9620B4 #BA36DB

Accessibility & contrast

On white

10.20
#6B1780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6B1780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1780
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1780#FFFFFF#000000##FFFFFF
##6B17801.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b1780;
/* rgb */ color: rgb(107, 23, 128);
/* oklch */ color: oklch(39.8% 0.171 318.4);
Tailwind
colors: {
  custom: {
    50: '#9960a5',
    500: '#6b1780',
    950: '#000000',
  },
}
SCSS
$custom: #6b1780;
$custom-light: #9960a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1780",
  "rgb": {
    "r": 107,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 288,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39808,
    "c": 0.17052,
    "h": 318.4
  },
  "luminance": 0.05297
}

Semantic roles & 50–950 ramp

primary
#6B1780
secondary
#56B43E
accent
#EC3B5F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6B1780

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

Preview Lab → · Contrast checker → · Palette generator →

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