#6D288E#6D288E

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

Color values

HEX#6D288E
RGBrgb(109, 40, 142)
HSLhsl(281, 56%, 36%)
HSVhsv(281, 72%, 56%)
CMYKcmyk(23.2%, 71.8%, 0%, 44.3%)
CIE-LABlab(31.17, 47.16, -43.16)
CIE-LCHlch(31.17, 63.93, 317.54°)
OKLaboklab(42.74% 0.1117 -0.1218)
OKLCHoklch(42.74% 0.165 312.5)
XYZxyz(11.9471, 6.7221, 26.2541)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D288E #498E28
analogous
#3A288E #6D288E #8E287C
triadic
#6D288E #8E6D28 #288E6D
tetradic
#6D288E #8E3A28 #498E28 #287C8E
square
#6D288E #8E3A28 #498E28 #287C8E
split-complementary
#6D288E #7C8E28 #288E3A
monochromatic
#240D2F #481B5E #6D288E #9235BE #AD5FD2

Accessibility & contrast

On white

8.96
#6D288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6D288E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D288E
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D288E#FFFFFF#000000##FFFFFF
##6D288E1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d288e;
/* rgb */ color: rgb(109, 40, 142);
/* oklch */ color: oklch(42.7% 0.165 312.5);
Tailwind
colors: {
  custom: {
    50: '#9a68b0',
    500: '#6d288e',
    950: '#000000',
  },
}
SCSS
$custom: #6d288e;
$custom-light: #9a68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d288e",
  "rgb": {
    "r": 109,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 280.588,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4274,
    "c": 0.16527,
    "h": 312.5
  },
  "luminance": 0.06722
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D288E

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

Preview Lab → · Contrast checker → · Palette generator →

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