#6A1481#6A1481

#6A1481 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.5% C 0.174 H 317.6°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#6A1481
RGBrgb(106, 20, 129)
HSLhsl(287, 73%, 29%)
HSVhsv(287, 84%, 51%)
CMYKcmyk(17.8%, 84.5%, 0%, 49.4%)
CIE-LABlab(27.16, 51.24, -41.55)
CIE-LCHlch(27.16, 65.97, 320.96°)
OKLaboklab(39.51% 0.1283 -0.1171)
OKLCHoklch(39.51% 0.174 317.6)
XYZxyz(10.1559, 5.1499, 21.2237)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1481 #2B8114
analogous
#331481 #6A1481 #811462
triadic
#6A1481 #816A14 #14816A
tetradic
#6A1481 #813314 #2B8114 #146281
square
#6A1481 #813314 #2B8114 #146281
split-complementary
#6A1481 #628114 #148133
monochromatic
#16041A #3E0C4C #6A1481 #961CB6 #BA30DF

Accessibility & contrast

On white

10.35
#6A1481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#6A1481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1481
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1481#FFFFFF#000000##FFFFFF
##6A14811.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B84
Deuteranopia (green-blind)
#18437F
Tritanopia (blue-blind)
#692E4C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6a1481;
/* rgb */ color: rgb(106, 20, 129);
/* oklch */ color: oklch(39.5% 0.174 317.6);
Tailwind
colors: {
  custom: {
    50: '#995fa6',
    500: '#6a1481',
    950: '#000000',
  },
}
SCSS
$custom: #6a1481;
$custom-light: #995fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1481",
  "rgb": {
    "r": 106,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 287.339,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3951,
    "c": 0.17372,
    "h": 317.6
  },
  "luminance": 0.05149
}

Semantic roles & 50–950 ramp

primary
#6A1481
secondary
#55B63B
accent
#F0385F
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6A1481

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

Preview Lab → · Contrast checker → · Palette generator →

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