#6D2287#6D2287

#6D2287 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.166 H 315.8°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#6D2287
RGBrgb(109, 34, 135)
HSLhsl(285, 60%, 33%)
HSVhsv(285, 75%, 53%)
CMYKcmyk(19.3%, 74.8%, 0%, 47.1%)
CIE-LABlab(29.78, 48.20, -41.06)
CIE-LCHlch(29.78, 63.32, 319.57°)
OKLaboklab(41.59% 0.1189 -0.1156)
OKLCHoklch(41.59% 0.166 315.8)
XYZxyz(11.2512, 6.1450, 23.5104)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2287 #3C8722
analogous
#3A2287 #6D2287 #87226E
triadic
#6D2287 #876D22 #22876D
tetradic
#6D2287 #873A22 #3C8722 #226E87
square
#6D2287 #873A22 #3C8722 #226E87
split-complementary
#6D2287 #6E8722 #22873A
monochromatic
#1E0925 #461656 #6D2287 #942EB8 #B150D3

Accessibility & contrast

On white

9.42
#6D2287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6D2287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2287
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2287#FFFFFF#000000##FFFFFF
##6D22871.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#204885
Tritanopia (blue-blind)
#6B3752
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6d2287;
/* rgb */ color: rgb(109, 34, 135);
/* oklch */ color: oklch(41.6% 0.166 315.8);
Tailwind
colors: {
  custom: {
    50: '#9a65ab',
    500: '#6d2287',
    950: '#000000',
  },
}
SCSS
$custom: #6d2287;
$custom-light: #9a65ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2287",
  "rgb": {
    "r": 109,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 284.554,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41594,
    "c": 0.16585,
    "h": 315.8
  },
  "luminance": 0.06145
}

Semantic roles & 50–950 ramp

primary
#6D2287
secondary
#69B74E
accent
#E3456E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D2287

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

Preview Lab → · Contrast checker → · Palette generator →

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