#6D2282#6D2282

#6D2282 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.2% C 0.161 H 317.8°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#6D2282
RGBrgb(109, 34, 130)
HSLhsl(287, 59%, 32%)
HSVhsv(287, 74%, 51%)
CMYKcmyk(16.2%, 73.8%, 0%, 49%)
CIE-LABlab(29.43, 47.15, -38.49)
CIE-LCHlch(29.43, 60.87, 320.77°)
OKLaboklab(41.24% 0.1194 -0.1081)
OKLCHoklch(41.24% 0.161 317.8)
XYZxyz(10.9074, 6.0075, 21.6998)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2282 #378222
analogous
#3D2282 #6D2282 #822267
triadic
#6D2282 #826D22 #22826D
tetradic
#6D2282 #823D22 #378222 #226782
square
#6D2282 #823D22 #378222 #226782
split-complementary
#6D2282 #678222 #22823D
monochromatic
#1C0921 #441551 #6D2282 #962FB3 #B44ED1

Accessibility & contrast

On white

9.54
#6D2282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6D2282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2282
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2282#FFFFFF#000000##FFFFFF
##6D22821.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004185
Deuteranopia (green-blind)
#264880
Tritanopia (blue-blind)
#6C3550
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6d2282;
/* rgb */ color: rgb(109, 34, 130);
/* oklch */ color: oklch(41.2% 0.161 317.8);
Tailwind
colors: {
  custom: {
    50: '#9a65a7',
    500: '#6d2282',
    950: '#000000',
  },
}
SCSS
$custom: #6d2282;
$custom-light: #9a65a7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2282",
  "rgb": {
    "r": 109,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 286.875,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4124,
    "c": 0.16107,
    "h": 317.8
  },
  "luminance": 0.06007
}

Semantic roles & 50–950 ramp

primary
#6D2282
secondary
#63B44C
accent
#E24668
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6D2282

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

Preview Lab → · Contrast checker → · Palette generator →

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