#6C288D#6C288D

#6C288D is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.164 H 312.4°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#6C288D
RGBrgb(108, 40, 141)
HSLhsl(280, 56%, 35%)
HSVhsv(280, 72%, 55%)
CMYKcmyk(23.4%, 71.6%, 0%, 44.7%)
CIE-LABlab(30.95, 46.72, -42.90)
CIE-LCHlch(30.95, 63.43, 317.44°)
OKLaboklab(42.53% 0.1104 -0.1211)
OKLCHoklch(42.53% 0.164 312.4)
XYZxyz(11.7500, 6.6291, 25.8547)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C288D #498D28
analogous
#39288D #6C288D #8D287B
triadic
#6C288D #8D6C28 #288D6C
tetradic
#6C288D #8D3928 #498D28 #287B8D
square
#6C288D #8D3928 #498D28 #287B8D
split-complementary
#6C288D #7B8D28 #288D39
monochromatic
#230D2E #471A5D #6C288D #9136BD #AC5ED1

Accessibility & contrast

On white

9.03
#6C288D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6C288D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C288D
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C288D#FFFFFF#000000##FFFFFF
##6C288D1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#1D4A8B
Tritanopia (blue-blind)
#683D57
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6c288d;
/* rgb */ color: rgb(108, 40, 141);
/* oklch */ color: oklch(42.5% 0.164 312.4);
Tailwind
colors: {
  custom: {
    50: '#9a68af',
    500: '#6c288d',
    950: '#000000',
  },
}
SCSS
$custom: #6c288d;
$custom-light: #9a68af;
$custom-dark: #000000;
JSON
{
  "hex": "#6c288d",
  "rgb": {
    "r": 108,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 280.396,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42531,
    "c": 0.16391,
    "h": 312.4
  },
  "luminance": 0.06629
}

Semantic roles & 50–950 ramp

primary
#6C288D
secondary
#78B75A
accent
#DF497A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C288D

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

Preview Lab → · Contrast checker → · Palette generator →

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