#6A1689#6A1689

#6A1689 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.3% C 0.179 H 314.4°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#6A1689
RGBrgb(106, 22, 137)
HSLhsl(284, 72%, 31%)
HSVhsv(284, 84%, 54%)
CMYKcmyk(22.6%, 83.9%, 0%, 46.3%)
CIE-LABlab(27.97, 52.26, -45.26)
CIE-LCHlch(27.97, 69.13, 319.11°)
OKLaboklab(40.27% 0.1252 -0.128)
OKLCHoklch(40.27% 0.179 314.4)
XYZxyz(10.7454, 5.4445, 24.1469)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1689 #358916
analogous
#301689 #6A1689 #89166E
triadic
#6A1689 #896A16 #16896A
tetradic
#6A1689 #893016 #358916 #166E89
square
#6A1689 #893016 #358916 #166E89
split-complementary
#6A1689 #6E8916 #168930
monochromatic
#180520 #410E54 #6A1689 #931EBE #B33ADF

Accessibility & contrast

On white

10.05
#6A1689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#6A1689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1689
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1689#FFFFFF#000000##FFFFFF
##6A16891.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#094487
Tritanopia (blue-blind)
#673351
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6a1689;
/* rgb */ color: rgb(106, 22, 137);
/* oklch */ color: oklch(40.3% 0.179 314.4);
Tailwind
colors: {
  custom: {
    50: '#9960ac',
    500: '#6a1689',
    950: '#000000',
  },
}
SCSS
$custom: #6a1689;
$custom-light: #9960ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1689",
  "rgb": {
    "r": 106,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 283.826,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40267,
    "c": 0.17902,
    "h": 314.4
  },
  "luminance": 0.05444
}

Semantic roles & 50–950 ramp

primary
#6A1689
secondary
#60BD3E
accent
#EF396A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6A1689

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

Preview Lab → · Contrast checker → · Palette generator →

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