#6B1A89#6B1A89

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

Color values

HEX#6B1A89
RGBrgb(107, 26, 137)
HSLhsl(284, 68%, 32%)
HSVhsv(284, 81%, 54%)
CMYKcmyk(21.9%, 81%, 0%, 46.3%)
CIE-LABlab(28.57, 51.17, -44.27)
CIE-LCHlch(28.57, 67.67, 319.13°)
OKLaboklab(40.72% 0.1234 -0.1251)
OKLCHoklch(40.72% 0.176 314.6)
XYZxyz(10.9474, 5.6711, 24.1800)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1A89 #38891A
analogous
#341A89 #6B1A89 #891A70
triadic
#6B1A89 #896B1A #1A896B
tetradic
#6B1A89 #89341A #38891A #1A7089
square
#6B1A89 #89341A #38891A #1A7089
split-complementary
#6B1A89 #70891A #1A8934
monochromatic
#1B0622 #431056 #6B1A89 #9324BC #B242DB

Accessibility & contrast

On white

9.84
#6B1A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1A89
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1A89#FFFFFF#000000##FFFFFF
##6B1A891.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b1a89;
/* rgb */ color: rgb(107, 26, 137);
/* oklch */ color: oklch(40.7% 0.176 314.6);
Tailwind
colors: {
  custom: {
    50: '#9961ac',
    500: '#6b1a89',
    950: '#000000',
  },
}
SCSS
$custom: #6b1a89;
$custom-light: #9961ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1a89",
  "rgb": {
    "r": 107,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 283.784,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40722,
    "c": 0.17568,
    "h": 314.6
  },
  "luminance": 0.05671
}

Semantic roles & 50–950 ramp

primary
#6B1A89
secondary
#63BC43
accent
#EB3D6C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6B1A89

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

Preview Lab → · Contrast checker → · Palette generator →

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