#6D2286#6D2286

#6D2286 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.165 H 316.2°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#6D2286
RGBrgb(109, 34, 134)
HSLhsl(285, 60%, 33%)
HSVhsv(285, 75%, 53%)
CMYKcmyk(18.7%, 74.6%, 0%, 47.5%)
CIE-LABlab(29.71, 47.99, -40.55)
CIE-LCHlch(29.71, 62.83, 319.80°)
OKLaboklab(41.52% 0.119 -0.1141)
OKLCHoklch(41.52% 0.165 316.2)
XYZxyz(11.1811, 6.1169, 23.1413)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2286 #3B8622
analogous
#3B2286 #6D2286 #86226D
triadic
#6D2286 #866D22 #22866D
tetradic
#6D2286 #863B22 #3B8622 #226D86
square
#6D2286 #863B22 #3B8622 #226D86
split-complementary
#6D2286 #6D8622 #22863B
monochromatic
#1E0924 #451655 #6D2286 #952EB7 #B250D3

Accessibility & contrast

On white

9.45
#6D2286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6D2286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2286
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2286#FFFFFF#000000##FFFFFF
##6D22861.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#214884
Tritanopia (blue-blind)
#6B3752
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6d2286;
/* rgb */ color: rgb(109, 34, 134);
/* oklch */ color: oklch(41.5% 0.165 316.2);
Tailwind
colors: {
  custom: {
    50: '#9a65aa',
    500: '#6d2286',
    950: '#000000',
  },
}
SCSS
$custom: #6d2286;
$custom-light: #9a65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2286",
  "rgb": {
    "r": 109,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 285,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41522,
    "c": 0.16489,
    "h": 316.2
  },
  "luminance": 0.06116
}

Semantic roles & 50–950 ramp

primary
#6D2286
secondary
#68B64E
accent
#E3456D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D2286

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

Preview Lab → · Contrast checker → · Palette generator →

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