#6D287C#6D287C

#6D287C is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.5% C 0.147 H 320.0°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#6D287C
RGBrgb(109, 40, 124)
HSLhsl(289, 51%, 32%)
HSVhsv(289, 68%, 49%)
CMYKcmyk(12.1%, 67.7%, 0%, 51.4%)
CIE-LABlab(29.97, 43.30, -33.86)
CIE-LCHlch(29.97, 54.96, 321.97°)
OKLaboklab(41.5% 0.1128 -0.0946)
OKLCHoklch(41.5% 0.147 320)
XYZxyz(10.7031, 6.2245, 19.7026)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D287C #377C28
analogous
#43287C #6D287C #7C2861
triadic
#6D287C #7C6D28 #287C6D
tetradic
#6D287C #7C4328 #377C28 #28617C
square
#6D287C #7C4328 #377C28 #28617C
split-complementary
#6D287C #617C28 #287C43
monochromatic
#1C0A1F #44194E #6D287C #9637AA #B456C8

Accessibility & contrast

On white

9.35
#6D287C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6D287C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D287C
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D287C#FFFFFF#000000##FFFFFF
##6D287C1.009.352.249.35
#FFFFFF9.351.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E427E
Deuteranopia (green-blind)
#2F497A
Tritanopia (blue-blind)
#6D364E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6d287c;
/* rgb */ color: rgb(109, 40, 124);
/* oklch */ color: oklch(41.5% 0.147 320.0);
Tailwind
colors: {
  custom: {
    50: '#9a68a2',
    500: '#6d287c',
    950: '#000000',
  },
}
SCSS
$custom: #6d287c;
$custom-light: #9a68a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d287c",
  "rgb": {
    "r": 109,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 289.286,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41502,
    "c": 0.14724,
    "h": 320
  },
  "luminance": 0.06224
}

Semantic roles & 50–950 ramp

primary
#6D287C
secondary
#63AD52
accent
#DB4D66
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6D287C

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

Preview Lab → · Contrast checker → · Palette generator →

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