#6D287D#6D287D

#6D287D is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.148 H 319.6°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#6D287D
RGBrgb(109, 40, 125)
HSLhsl(289, 52%, 32%)
HSVhsv(289, 68%, 49%)
CMYKcmyk(12.8%, 68%, 0%, 51%)
CIE-LABlab(30.03, 43.50, -34.39)
CIE-LCHlch(30.03, 55.45, 321.67°)
OKLaboklab(41.57% 0.1128 -0.0961)
OKLCHoklch(41.57% 0.148 319.6)
XYZxyz(10.7667, 6.2500, 20.0373)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D287D #387D28
analogous
#43287D #6D287D #7D2862
triadic
#6D287D #7D6D28 #287D6D
tetradic
#6D287D #7D4328 #387D28 #28627D
square
#6D287D #7D4328 #387D28 #28627D
split-complementary
#6D287D #627D28 #287D43
monochromatic
#1C0A20 #45194F #6D287D #9537AB #B356C9

Accessibility & contrast

On white

9.33
#6D287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6D287D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D287D
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D287D#FFFFFF#000000##FFFFFF
##6D287D1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4280
Deuteranopia (green-blind)
#2E497B
Tritanopia (blue-blind)
#6D374F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6d287d;
/* rgb */ color: rgb(109, 40, 125);
/* oklch */ color: oklch(41.6% 0.148 319.6);
Tailwind
colors: {
  custom: {
    50: '#9a68a3',
    500: '#6d287d',
    950: '#000000',
  },
}
SCSS
$custom: #6d287d;
$custom-light: #9a68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d287d",
  "rgb": {
    "r": 109,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 288.706,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41567,
    "c": 0.14822,
    "h": 319.6
  },
  "luminance": 0.06249
}

Semantic roles & 50–950 ramp

primary
#6D287D
secondary
#64AE53
accent
#DB4D68
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6D287D

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

Preview Lab → · Contrast checker → · Palette generator →

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