#6A1D89#6A1D89

#6A1D89 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.8% C 0.172 H 313.9°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#6A1D89
RGBrgb(106, 29, 137)
HSLhsl(283, 65%, 33%)
HSVhsv(283, 79%, 54%)
CMYKcmyk(22.6%, 78.8%, 0%, 46.3%)
CIE-LABlab(28.77, 49.93, -43.95)
CIE-LCHlch(28.77, 66.52, 318.64°)
OKLaboklab(40.83% 0.1194 -0.1242)
OKLCHoklch(40.83% 0.172 313.9)
XYZxyz(10.8978, 5.7494, 24.1977)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1D89 #3C891D
analogous
#341D89 #6A1D89 #891D72
triadic
#6A1D89 #896A1D #1D896A
tetradic
#6A1D89 #89341D #3C891D #1D7289
square
#6A1D89 #89341D #3C891D #1D7289
split-complementary
#6A1D89 #72891D #1D8934
monochromatic
#1C0824 #431256 #6A1D89 #9128BC #AF48D8

Accessibility & contrast

On white

9.77
#6A1D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6A1D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1D89
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1D89#FFFFFF#000000##FFFFFF
##6A1D891.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#134687
Tritanopia (blue-blind)
#673652
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6a1d89;
/* rgb */ color: rgb(106, 29, 137);
/* oklch */ color: oklch(40.8% 0.172 313.9);
Tailwind
colors: {
  custom: {
    50: '#9962ac',
    500: '#6a1d89',
    950: '#000000',
  },
}
SCSS
$custom: #6a1d89;
$custom-light: #9962ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1d89",
  "rgb": {
    "r": 106,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 282.778,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40833,
    "c": 0.17228,
    "h": 313.9
  },
  "luminance": 0.05749
}

Semantic roles & 50–950 ramp

primary
#6A1D89
secondary
#68BA47
accent
#E84070
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6A1D89

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

Preview Lab → · Contrast checker → · Palette generator →

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