#6C286F#6C286F

#6C286F is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.5% C 0.134 H 326.0°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#6C286F
RGBrgb(108, 40, 111)
HSLhsl(297, 47%, 30%)
HSVhsv(297, 64%, 44%)
CMYKcmyk(2.7%, 64%, 0%, 56.5%)
CIE-LABlab(29.04, 40.41, -27.11)
CIE-LCHlch(29.04, 48.66, 326.15°)
OKLaboklab(40.55% 0.1112 -0.075)
OKLCHoklch(40.55% 0.134 326)
XYZxyz(9.8122, 5.8540, 15.6490)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C286F #2B6F28
analogous
#49286F #6C286F #6F284F
triadic
#6C286F #6F6C28 #286F6C
tetradic
#6C286F #6F4928 #2B6F28 #284F6F
square
#6C286F #6F4928 #2B6F28 #284F6F
split-complementary
#6C286F #4F6F28 #286F49
monochromatic
#160816 #401842 #6C286F #98389C #BC51C0

Accessibility & contrast

On white

9.67
#6C286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6C286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C286F
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C286F#FFFFFF#000000##FFFFFF
##6C286F1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3F71
Deuteranopia (green-blind)
#36476D
Tritanopia (blue-blind)
#6F3247
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6c286f;
/* rgb */ color: rgb(108, 40, 111);
/* oklch */ color: oklch(40.5% 0.134 326.0);
Tailwind
colors: {
  custom: {
    50: '#986798',
    500: '#6c286f',
    950: '#000000',
  },
}
SCSS
$custom: #6c286f;
$custom-light: #986798;
$custom-dark: #000000;
JSON
{
  "hex": "#6c286f",
  "rgb": {
    "r": 108,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 297.465,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40547,
    "c": 0.13409,
    "h": 326
  },
  "luminance": 0.05853
}

Semantic roles & 50–950 ramp

primary
#6C286F
secondary
#55A151
accent
#D75157
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6C286F

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

Preview Lab → · Contrast checker → · Palette generator →

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