#6C288A#6C288A

#6C288A is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.161 H 313.5°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#6C288A
RGBrgb(108, 40, 138)
HSLhsl(282, 55%, 35%)
HSVhsv(282, 71%, 54%)
CMYKcmyk(21.7%, 71%, 0%, 45.9%)
CIE-LABlab(30.74, 46.05, -41.38)
CIE-LCHlch(30.74, 61.92, 318.06°)
OKLaboklab(42.32% 0.1107 -0.1167)
OKLCHoklch(42.32% 0.161 313.5)
XYZxyz(11.5298, 6.5411, 24.6950)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C288A #468A28
analogous
#3B288A #6C288A #8A2877
triadic
#6C288A #8A6C28 #288A6C
tetradic
#6C288A #8A3B28 #468A28 #28778A
square
#6C288A #8A3B28 #468A28 #28778A
split-complementary
#6C288A #778A28 #288A3B
monochromatic
#220C2B #471A5B #6C288A #9136B9 #AD5DD0

Accessibility & contrast

On white

9.10
#6C288A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6C288A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C288A
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C288A#FFFFFF#000000##FFFFFF
##6C288A1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#214A88
Tritanopia (blue-blind)
#693C56
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6c288a;
/* rgb */ color: rgb(108, 40, 138);
/* oklch */ color: oklch(42.3% 0.161 313.5);
Tailwind
colors: {
  custom: {
    50: '#9968ad',
    500: '#6c288a',
    950: '#000000',
  },
}
SCSS
$custom: #6c288a;
$custom-light: #9968ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6c288a",
  "rgb": {
    "r": 108,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 281.633,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42316,
    "c": 0.16085,
    "h": 313.5
  },
  "luminance": 0.06541
}

Semantic roles & 50–950 ramp

primary
#6C288A
secondary
#75B559
accent
#DE4977
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C288A

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

Preview Lab → · Contrast checker → · Palette generator →

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