#6A1989#6A1989

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

Color values

HEX#6A1989
RGBrgb(106, 25, 137)
HSLhsl(283, 69%, 32%)
HSVhsv(283, 82%, 54%)
CMYKcmyk(22.6%, 81.8%, 0%, 46.3%)
CIE-LABlab(28.29, 51.32, -44.73)
CIE-LCHlch(28.29, 68.08, 318.92°)
OKLaboklab(40.49% 0.1229 -0.1265)
OKLCHoklch(40.49% 0.176 314.2)
XYZxyz(10.8061, 5.5660, 24.1672)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1989 #388919
analogous
#321989 #6A1989 #891970
triadic
#6A1989 #896A19 #19896A
tetradic
#6A1989 #893219 #388919 #197089
square
#6A1989 #893219 #388919 #197089
split-complementary
#6A1989 #708919 #198932
monochromatic
#1A0621 #421055 #6A1989 #9222BD #B140DC

Accessibility & contrast

On white

9.94
#6A1989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A1989
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1989#FFFFFF#000000##FFFFFF
##6A19891.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a1989;
/* rgb */ color: rgb(106, 25, 137);
/* oklch */ color: oklch(40.5% 0.176 314.2);
Tailwind
colors: {
  custom: {
    50: '#9961ac',
    500: '#6a1989',
    950: '#000000',
  },
}
SCSS
$custom: #6a1989;
$custom-light: #9961ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1989",
  "rgb": {
    "r": 106,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 283.393,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40494,
    "c": 0.17631,
    "h": 314.2
  },
  "luminance": 0.05566
}

Semantic roles & 50–950 ramp

primary
#6A1989
secondary
#63BC41
accent
#EC3C6D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6A1989

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

Preview Lab → · Contrast checker → · Palette generator →

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