#6A1889#6A1889

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

Color values

HEX#6A1889
RGBrgb(106, 24, 137)
HSLhsl(284, 70%, 32%)
HSVhsv(284, 82%, 54%)
CMYKcmyk(22.6%, 82.5%, 0%, 46.3%)
CIE-LABlab(28.18, 51.64, -44.91)
CIE-LCHlch(28.18, 68.44, 318.99°)
OKLaboklab(40.42% 0.1237 -0.127)
OKLCHoklch(40.42% 0.177 314.2)
XYZxyz(10.7851, 5.5240, 24.1602)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1889 #378918
analogous
#321889 #6A1889 #891870
triadic
#6A1889 #896A18 #18896A
tetradic
#6A1889 #893218 #378918 #187089
square
#6A1889 #893218 #378918 #187089
split-complementary
#6A1889 #708918 #188932
monochromatic
#190621 #420F55 #6A1889 #9221BD #B23EDD

Accessibility & contrast

On white

9.98
#6A1889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6A1889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1889
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1889#FFFFFF#000000##FFFFFF
##6A18891.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#0C4487
Tritanopia (blue-blind)
#673451
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6a1889;
/* rgb */ color: rgb(106, 24, 137);
/* oklch */ color: oklch(40.4% 0.177 314.2);
Tailwind
colors: {
  custom: {
    50: '#9960ac',
    500: '#6a1889',
    950: '#000000',
  },
}
SCSS
$custom: #6a1889;
$custom-light: #9960ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1889",
  "rgb": {
    "r": 106,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 283.54,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40416,
    "c": 0.17724,
    "h": 314.2
  },
  "luminance": 0.05524
}

Semantic roles & 50–950 ramp

primary
#6A1889
secondary
#62BD40
accent
#ED3B6C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6A1889

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

Preview Lab → · Contrast checker → · Palette generator →

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