#6A1A88#6A1A88

#6A1A88 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.174 H 314.5°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#6A1A88
RGBrgb(106, 26, 136)
HSLhsl(284, 68%, 32%)
HSVhsv(284, 81%, 53%)
CMYKcmyk(22.1%, 80.9%, 0%, 46.7%)
CIE-LABlab(28.33, 50.77, -44.04)
CIE-LCHlch(28.33, 67.22, 319.06°)
OKLaboklab(40.5% 0.1222 -0.1244)
OKLCHoklch(40.5% 0.174 314.5)
XYZxyz(10.7564, 5.5809, 23.7984)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1A88 #38881A
analogous
#331A88 #6A1A88 #881A6F
triadic
#6A1A88 #886A1A #1A886A
tetradic
#6A1A88 #88331A #38881A #1A6F88
square
#6A1A88 #88331A #38881A #1A6F88
split-complementary
#6A1A88 #6F881A #1A8833
monochromatic
#1A0621 #421055 #6A1A88 #9224BB #B142DB

Accessibility & contrast

On white

9.92
#6A1A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6A1A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1A88
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1A88#FFFFFF#000000##FFFFFF
##6A1A881.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#114586
Tritanopia (blue-blind)
#673451
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6a1a88;
/* rgb */ color: rgb(106, 26, 136);
/* oklch */ color: oklch(40.5% 0.174 314.5);
Tailwind
colors: {
  custom: {
    50: '#9961ab',
    500: '#6a1a88',
    950: '#000000',
  },
}
SCSS
$custom: #6a1a88;
$custom-light: #9961ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1a88",
  "rgb": {
    "r": 106,
    "g": 26,
    "b": 136
  },
  "hsl": {
    "h": 283.636,
    "s": 67.901,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40498,
    "c": 0.17443,
    "h": 314.5
  },
  "luminance": 0.05581
}

Semantic roles & 50–950 ramp

primary
#6A1A88
secondary
#63BB43
accent
#EB3D6C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6A1A88

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

Preview Lab → · Contrast checker → · Palette generator →

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