#6A1B89#6A1B89

#6A1B89 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.174 H 314.0°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#6A1B89
RGBrgb(106, 27, 137)
HSLhsl(283, 67%, 32%)
HSVhsv(283, 80%, 54%)
CMYKcmyk(22.6%, 80.3%, 0%, 46.3%)
CIE-LABlab(28.52, 50.64, -44.35)
CIE-LCHlch(28.52, 67.32, 318.79°)
OKLaboklab(40.66% 0.1212 -0.1254)
OKLCHoklch(40.66% 0.174 314)
XYZxyz(10.8504, 5.6546, 24.1819)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1B89 #3A891B
analogous
#331B89 #6A1B89 #891B71
triadic
#6A1B89 #896A1B #1B896A
tetradic
#6A1B89 #89331B #3A891B #1B7189
square
#6A1B89 #89331B #3A891B #1B7189
split-complementary
#6A1B89 #71891B #1B8933
monochromatic
#1B0723 #421156 #6A1B89 #9225BC #B044DA

Accessibility & contrast

On white

9.86
#6A1B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6A1B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1B89
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1B89#FFFFFF#000000##FFFFFF
##6A1B891.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#104587
Tritanopia (blue-blind)
#673552
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6a1b89;
/* rgb */ color: rgb(106, 27, 137);
/* oklch */ color: oklch(40.7% 0.174 314.0);
Tailwind
colors: {
  custom: {
    50: '#9962ac',
    500: '#6a1b89',
    950: '#000000',
  },
}
SCSS
$custom: #6a1b89;
$custom-light: #9962ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1b89",
  "rgb": {
    "r": 106,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 283.091,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40659,
    "c": 0.17435,
    "h": 314
  },
  "luminance": 0.05654
}

Semantic roles & 50–950 ramp

primary
#6A1B89
secondary
#66BC44
accent
#EA3E6E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6A1B89

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

Preview Lab → · Contrast checker → · Palette generator →

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