#6B1889#6B1889

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

Color values

HEX#6B1889
RGBrgb(107, 24, 137)
HSLhsl(284, 70%, 32%)
HSVhsv(284, 82%, 54%)
CMYKcmyk(21.9%, 82.5%, 0%, 46.3%)
CIE-LABlab(28.34, 51.83, -44.64)
CIE-LCHlch(28.34, 68.40, 319.26°)
OKLaboklab(40.56% 0.125 -0.1261)
OKLCHoklch(40.56% 0.178 314.7)
XYZxyz(10.9046, 5.5856, 24.1658)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1889 #368918
analogous
#331889 #6B1889 #89186F
triadic
#6B1889 #896B18 #18896B
tetradic
#6B1889 #893318 #368918 #186F89
square
#6B1889 #893318 #368918 #186F89
split-complementary
#6B1889 #6F8918 #188933
monochromatic
#1A0621 #420F55 #6B1889 #9421BD #B33EDD

Accessibility & contrast

On white

9.92
#6B1889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6B1889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1889
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1889#FFFFFF#000000##FFFFFF
##6B18891.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#0F4587
Tritanopia (blue-blind)
#683451
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6b1889;
/* rgb */ color: rgb(107, 24, 137);
/* oklch */ color: oklch(40.6% 0.178 314.7);
Tailwind
colors: {
  custom: {
    50: '#9a61ac',
    500: '#6b1889',
    950: '#000000',
  },
}
SCSS
$custom: #6b1889;
$custom-light: #9a61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1889",
  "rgb": {
    "r": 107,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 284.071,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40564,
    "c": 0.17758,
    "h": 314.7
  },
  "luminance": 0.05585
}

Semantic roles & 50–950 ramp

primary
#6B1889
secondary
#61BD40
accent
#ED3B6A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6B1889

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

Preview Lab → · Contrast checker → · Palette generator →

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