#6B1481#6B1481

#6B1481 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.7% C 0.174 H 318.1°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#6B1481
RGBrgb(107, 20, 129)
HSLhsl(288, 73%, 29%)
HSVhsv(288, 84%, 51%)
CMYKcmyk(17.1%, 84.5%, 0%, 49.4%)
CIE-LABlab(27.33, 51.43, -41.27)
CIE-LCHlch(27.33, 65.94, 321.25°)
OKLaboklab(39.66% 0.1296 -0.1162)
OKLCHoklch(39.66% 0.174 318.1)
XYZxyz(10.2754, 5.2116, 21.2293)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1481 #2A8114
analogous
#351481 #6B1481 #811461
triadic
#6B1481 #816B14 #14816B
tetradic
#6B1481 #813514 #2A8114 #146181
square
#6B1481 #813514 #2A8114 #146181
split-complementary
#6B1481 #618114 #148135
monochromatic
#16041A #3F0C4C #6B1481 #971CB6 #BC30DF

Accessibility & contrast

On white

10.28
#6B1481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1481
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1481#FFFFFF#000000##FFFFFF
##6B14811.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B84
Deuteranopia (green-blind)
#19437F
Tritanopia (blue-blind)
#6A2E4C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6b1481;
/* rgb */ color: rgb(107, 20, 129);
/* oklch */ color: oklch(39.7% 0.174 318.1);
Tailwind
colors: {
  custom: {
    50: '#995fa6',
    500: '#6b1481',
    950: '#000000',
  },
}
SCSS
$custom: #6b1481;
$custom-light: #995fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1481",
  "rgb": {
    "r": 107,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 287.89,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39664,
    "c": 0.17409,
    "h": 318.1
  },
  "luminance": 0.05211
}

Semantic roles & 50–950 ramp

primary
#6B1481
secondary
#54B63B
accent
#F0385D
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6B1481

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

Preview Lab → · Contrast checker → · Palette generator →

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