#6C288E#6C288E

#6C288E is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.6% C 0.165 H 312.0°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#6C288E
RGBrgb(108, 40, 142)
HSLhsl(280, 56%, 36%)
HSVhsv(280, 72%, 56%)
CMYKcmyk(23.9%, 71.8%, 0%, 44.3%)
CIE-LABlab(31.02, 46.94, -43.41)
CIE-LCHlch(31.02, 63.94, 317.24°)
OKLaboklab(42.6% 0.1103 -0.1226)
OKLCHoklch(42.6% 0.165 312)
XYZxyz(11.8247, 6.6590, 26.2484)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C288E #4A8E28
analogous
#39288E #6C288E #8E287D
triadic
#6C288E #8E6C28 #288E6C
tetradic
#6C288E #8E3928 #4A8E28 #287D8E
square
#6C288E #8E3928 #4A8E28 #287D8E
split-complementary
#6C288E #7D8E28 #288E39
monochromatic
#230D2F #481B5E #6C288E #9035BE #AB5FD2

Accessibility & contrast

On white

9.01
#6C288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C288E
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C288E#FFFFFF#000000##FFFFFF
##6C288E1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#1C4A8C
Tritanopia (blue-blind)
#683E58
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6c288e;
/* rgb */ color: rgb(108, 40, 142);
/* oklch */ color: oklch(42.6% 0.165 312.0);
Tailwind
colors: {
  custom: {
    50: '#9a68b0',
    500: '#6c288e',
    950: '#000000',
  },
}
SCSS
$custom: #6c288e;
$custom-light: #9a68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c288e",
  "rgb": {
    "r": 108,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 280,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42604,
    "c": 0.16492,
    "h": 312
  },
  "luminance": 0.06659
}

Semantic roles & 50–950 ramp

primary
#6C288E
secondary
#79B75B
accent
#DF487B
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C288E

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

Preview Lab → · Contrast checker → · Palette generator →

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