#6C1989#6C1989

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

Color values

HEX#6C1989
RGBrgb(108, 25, 137)
HSLhsl(284, 69%, 32%)
HSVhsv(284, 82%, 54%)
CMYKcmyk(21.2%, 81.8%, 0%, 46.3%)
CIE-LABlab(28.62, 51.69, -44.19)
CIE-LCHlch(28.62, 68.00, 319.48°)
OKLaboklab(40.79% 0.1255 -0.1248)
OKLCHoklch(40.79% 0.177 315.2)
XYZxyz(11.0466, 5.6900, 24.1784)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1989 #368919
analogous
#341989 #6C1989 #89196E
triadic
#6C1989 #896C19 #19896C
tetradic
#6C1989 #893419 #368919 #196E89
square
#6C1989 #893419 #368919 #196E89
split-complementary
#6C1989 #6E8919 #198934
monochromatic
#1A0621 #431055 #6C1989 #9522BD #B440DC

Accessibility & contrast

On white

9.82
#6C1989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#6C1989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1989
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1989#FFFFFF#000000##FFFFFF
##6C19891.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#134687
Tritanopia (blue-blind)
#6A3452
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6c1989;
/* rgb */ color: rgb(108, 25, 137);
/* oklch */ color: oklch(40.8% 0.177 315.2);
Tailwind
colors: {
  custom: {
    50: '#9a61ac',
    500: '#6c1989',
    950: '#000000',
  },
}
SCSS
$custom: #6c1989;
$custom-light: #9a61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1989",
  "rgb": {
    "r": 108,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 284.464,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40789,
    "c": 0.177,
    "h": 315.2
  },
  "luminance": 0.0569
}

Semantic roles & 50–950 ramp

primary
#6C1989
secondary
#61BC41
accent
#EC3C69
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6C1989

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

Preview Lab → · Contrast checker → · Palette generator →

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