#6A1A89#6A1A89

#6A1A89 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.6% C 0.175 H 314.1°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#6A1A89
RGBrgb(106, 26, 137)
HSLhsl(283, 68%, 32%)
HSVhsv(283, 81%, 54%)
CMYKcmyk(22.6%, 81%, 0%, 46.3%)
CIE-LABlab(28.41, 50.98, -44.54)
CIE-LCHlch(28.41, 67.70, 318.86°)
OKLaboklab(40.58% 0.122 -0.1259)
OKLCHoklch(40.58% 0.175 314.1)
XYZxyz(10.8278, 5.6095, 24.1744)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1A89 #39891A
analogous
#321A89 #6A1A89 #891A71
triadic
#6A1A89 #896A1A #1A896A
tetradic
#6A1A89 #89321A #39891A #1A7189
square
#6A1A89 #89321A #39891A #1A7189
split-complementary
#6A1A89 #71891A #1A8932
monochromatic
#1A0622 #421056 #6A1A89 #9224BC #B042DB

Accessibility & contrast

On white

9.90
#6A1A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A1A89
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1A89#FFFFFF#000000##FFFFFF
##6A1A891.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#0F4587
Tritanopia (blue-blind)
#673552
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6a1a89;
/* rgb */ color: rgb(106, 26, 137);
/* oklch */ color: oklch(40.6% 0.175 314.1);
Tailwind
colors: {
  custom: {
    50: '#9961ac',
    500: '#6a1a89',
    950: '#000000',
  },
}
SCSS
$custom: #6a1a89;
$custom-light: #9961ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1a89",
  "rgb": {
    "r": 106,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 283.243,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40575,
    "c": 0.17534,
    "h": 314.1
  },
  "luminance": 0.05609
}

Semantic roles & 50–950 ramp

primary
#6A1A89
secondary
#65BC43
accent
#EB3D6D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6A1A89

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

Preview Lab → · Contrast checker → · Palette generator →

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