#6D2284#6D2284

#6D2284 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.163 H 317.0°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#6D2284
RGBrgb(109, 34, 132)
HSLhsl(286, 59%, 33%)
HSVhsv(286, 74%, 52%)
CMYKcmyk(17.4%, 74.2%, 0%, 48.2%)
CIE-LABlab(29.57, 47.57, -39.53)
CIE-LCHlch(29.57, 61.85, 320.27°)
OKLaboklab(41.38% 0.1192 -0.1111)
OKLCHoklch(41.38% 0.163 317)
XYZxyz(11.0429, 6.0617, 22.4137)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2284 #398422
analogous
#3C2284 #6D2284 #84226A
triadic
#6D2284 #846D22 #22846D
tetradic
#6D2284 #843C22 #398422 #226A84
square
#6D2284 #843C22 #398422 #226A84
split-complementary
#6D2284 #6A8422 #22843C
monochromatic
#1D0923 #451553 #6D2284 #952FB5 #B34FD2

Accessibility & contrast

On white

9.49
#6D2284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6D2284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2284
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2284#FFFFFF#000000##FFFFFF
##6D22841.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004187
Deuteranopia (green-blind)
#244882
Tritanopia (blue-blind)
#6C3651
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6d2284;
/* rgb */ color: rgb(109, 34, 132);
/* oklch */ color: oklch(41.4% 0.163 317.0);
Tailwind
colors: {
  custom: {
    50: '#9a65a8',
    500: '#6d2284',
    950: '#000000',
  },
}
SCSS
$custom: #6d2284;
$custom-light: #9a65a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2284",
  "rgb": {
    "r": 109,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 285.918,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4138,
    "c": 0.16297,
    "h": 317
  },
  "luminance": 0.06061
}

Semantic roles & 50–950 ramp

primary
#6D2284
secondary
#65B54D
accent
#E2466A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D2284

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

Preview Lab → · Contrast checker → · Palette generator →

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