#6A1988#6A1988

#6A1988 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.4% C 0.175 H 314.6°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#6A1988
RGBrgb(106, 25, 136)
HSLhsl(284, 69%, 32%)
HSVhsv(284, 82%, 53%)
CMYKcmyk(22.1%, 81.6%, 0%, 46.7%)
CIE-LABlab(28.21, 51.11, -44.23)
CIE-LCHlch(28.21, 67.59, 319.13°)
OKLaboklab(40.42% 0.1231 -0.125)
OKLCHoklch(40.42% 0.175 314.6)
XYZxyz(10.7347, 5.5374, 23.7911)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1988 #378819
analogous
#331988 #6A1988 #88196F
triadic
#6A1988 #886A19 #19886A
tetradic
#6A1988 #883319 #378819 #196F88
square
#6A1988 #883319 #378819 #196F88
split-complementary
#6A1988 #6F8819 #198833
monochromatic
#190621 #420F54 #6A1988 #9223BC #B240DC

Accessibility & contrast

On white

9.96
#6A1988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6A1988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1988
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1988#FFFFFF#000000##FFFFFF
##6A19881.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a1988;
/* rgb */ color: rgb(106, 25, 136);
/* oklch */ color: oklch(40.4% 0.175 314.6);
Tailwind
colors: {
  custom: {
    50: '#9961ab',
    500: '#6a1988',
    950: '#000000',
  },
}
SCSS
$custom: #6a1988;
$custom-light: #9961ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1988",
  "rgb": {
    "r": 106,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 283.784,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40417,
    "c": 0.1754,
    "h": 314.6
  },
  "luminance": 0.05537
}

Semantic roles & 50–950 ramp

primary
#6A1988
secondary
#62BB41
accent
#EC3C6C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6A1988

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

Preview Lab → · Contrast checker → · Palette generator →

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