#6A1480#6A1480

#6A1480 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.4% C 0.173 H 318.0°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#6A1480
RGBrgb(106, 20, 128)
HSLhsl(288, 73%, 29%)
HSVhsv(288, 84%, 50%)
CMYKcmyk(17.2%, 84.4%, 0%, 49.8%)
CIE-LABlab(27.08, 51.04, -41.04)
CIE-LCHlch(27.08, 65.49, 321.20°)
OKLaboklab(39.43% 0.1285 -0.1156)
OKLCHoklch(39.43% 0.173 318)
XYZxyz(10.0897, 5.1235, 20.8753)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1480 #2A8014
analogous
#341480 #6A1480 #801460
triadic
#6A1480 #806A14 #14806A
tetradic
#6A1480 #803414 #2A8014 #146080
square
#6A1480 #803414 #2A8014 #146080
split-complementary
#6A1480 #608014 #148034
monochromatic
#16041A #3E0C4B #6A1480 #961CB5 #BB30DF

Accessibility & contrast

On white

10.37
#6A1480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#6A1480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1480
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1480#FFFFFF#000000##FFFFFF
##6A14801.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#19437E
Tritanopia (blue-blind)
#692E4B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6a1480;
/* rgb */ color: rgb(106, 20, 128);
/* oklch */ color: oklch(39.4% 0.173 318.0);
Tailwind
colors: {
  custom: {
    50: '#995fa5',
    500: '#6a1480',
    950: '#000000',
  },
}
SCSS
$custom: #6a1480;
$custom-light: #995fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1480",
  "rgb": {
    "r": 106,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 287.778,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39435,
    "c": 0.17285,
    "h": 318
  },
  "luminance": 0.05123
}

Semantic roles & 50–950 ramp

primary
#6A1480
secondary
#54B53B
accent
#F0385E
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6A1480

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

Preview Lab → · Contrast checker → · Palette generator →

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