#6B1989#6B1989

#6B1989 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.6% C 0.177 H 314.7°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#6B1989
RGBrgb(107, 25, 137)
HSLhsl(284, 69%, 32%)
HSVhsv(284, 82%, 54%)
CMYKcmyk(21.9%, 81.8%, 0%, 46.3%)
CIE-LABlab(28.45, 51.50, -44.46)
CIE-LCHlch(28.45, 68.04, 319.20°)
OKLaboklab(40.64% 0.1242 -0.1256)
OKLCHoklch(40.64% 0.177 314.7)
XYZxyz(10.9256, 5.6276, 24.1728)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1989 #378919
analogous
#331989 #6B1989 #89196F
triadic
#6B1989 #896B19 #19896B
tetradic
#6B1989 #893319 #378919 #196F89
square
#6B1989 #893319 #378919 #196F89
split-complementary
#6B1989 #6F8919 #198933
monochromatic
#1A0621 #431055 #6B1989 #9322BD #B240DC

Accessibility & contrast

On white

9.88
#6B1989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1989
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1989#FFFFFF#000000##FFFFFF
##6B19891.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b1989;
/* rgb */ color: rgb(107, 25, 137);
/* oklch */ color: oklch(40.6% 0.177 314.7);
Tailwind
colors: {
  custom: {
    50: '#9961ac',
    500: '#6b1989',
    950: '#000000',
  },
}
SCSS
$custom: #6b1989;
$custom-light: #9961ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1989",
  "rgb": {
    "r": 107,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 283.929,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40641,
    "c": 0.17665,
    "h": 314.7
  },
  "luminance": 0.05627
}

Semantic roles & 50–950 ramp

primary
#6B1989
secondary
#62BC41
accent
#EC3C6B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6B1989

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

Preview Lab → · Contrast checker → · Palette generator →

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