#6D288A#6D288A

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

Color values

HEX#6D288A
RGBrgb(109, 40, 138)
HSLhsl(282, 55%, 35%)
HSVhsv(282, 71%, 54%)
CMYKcmyk(21%, 71%, 0%, 45.9%)
CIE-LABlab(30.89, 46.28, -41.14)
CIE-LCHlch(30.89, 61.92, 318.37°)
OKLaboklab(42.45% 0.1121 -0.1159)
OKLCHoklch(42.45% 0.161 314)
XYZxyz(11.6521, 6.6041, 24.7008)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D288A #458A28
analogous
#3C288A #6D288A #8A2876
triadic
#6D288A #8A6D28 #288A6D
tetradic
#6D288A #8A3C28 #458A28 #28768A
square
#6D288A #8A3C28 #458A28 #28768A
split-complementary
#6D288A #768A28 #288A3C
monochromatic
#220C2B #481A5B #6D288A #9236B9 #AE5DD0

Accessibility & contrast

On white

9.05
#6D288A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6D288A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D288A
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D288A#FFFFFF#000000##FFFFFF
##6D288A1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#234A88
Tritanopia (blue-blind)
#6A3C56
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6d288a;
/* rgb */ color: rgb(109, 40, 138);
/* oklch */ color: oklch(42.5% 0.161 314.0);
Tailwind
colors: {
  custom: {
    50: '#9a68ad',
    500: '#6d288a',
    950: '#000000',
  },
}
SCSS
$custom: #6d288a;
$custom-light: #9a68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6d288a",
  "rgb": {
    "r": 109,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 282.245,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42454,
    "c": 0.16122,
    "h": 314
  },
  "luminance": 0.06604
}

Semantic roles & 50–950 ramp

primary
#6D288A
secondary
#74B559
accent
#DE4975
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D288A

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

Preview Lab → · Contrast checker → · Palette generator →

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