#6D288F#6D288F

#6D288F is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.8% C 0.166 H 312.1°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#6D288F
RGBrgb(109, 40, 143)
HSLhsl(280, 56%, 36%)
HSVhsv(280, 72%, 56%)
CMYKcmyk(23.8%, 72%, 0%, 43.9%)
CIE-LABlab(31.24, 47.38, -43.67)
CIE-LCHlch(31.24, 64.44, 317.34°)
OKLaboklab(42.81% 0.1115 -0.1233)
OKLCHoklch(42.81% 0.166 312.1)
XYZxyz(12.0225, 6.7523, 26.6513)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D288F #4A8F28
analogous
#39288F #6D288F #8F287D
triadic
#6D288F #8F6D28 #288F6D
tetradic
#6D288F #8F3928 #4A8F28 #287D8F
square
#6D288F #8F3928 #4A8F28 #287D8F
split-complementary
#6D288F #7D8F28 #288F39
monochromatic
#240D2F #491B5F #6D288F #9135BF #AC5FD2

Accessibility & contrast

On white

8.93
#6D288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6D288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D288F
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D288F#FFFFFF#000000##FFFFFF
##6D288F1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#1C4B8D
Tritanopia (blue-blind)
#693E59
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6d288f;
/* rgb */ color: rgb(109, 40, 143);
/* oklch */ color: oklch(42.8% 0.166 312.1);
Tailwind
colors: {
  custom: {
    50: '#9a68b0',
    500: '#6d288f',
    950: '#000000',
  },
}
SCSS
$custom: #6d288f;
$custom-light: #9a68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d288f",
  "rgb": {
    "r": 109,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 280.194,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42813,
    "c": 0.16629,
    "h": 312.1
  },
  "luminance": 0.06752
}

Semantic roles & 50–950 ramp

primary
#6D288F
secondary
#7AB85B
accent
#E0487A
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6D288F

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

Preview Lab → · Contrast checker → · Palette generator →

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