#6D2285#6D2285

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

Color values

HEX#6D2285
RGBrgb(109, 34, 133)
HSLhsl(285, 59%, 33%)
HSVhsv(285, 74%, 52%)
CMYKcmyk(18%, 74.4%, 0%, 47.8%)
CIE-LABlab(29.64, 47.78, -40.04)
CIE-LCHlch(29.64, 62.34, 320.03°)
OKLaboklab(41.45% 0.1191 -0.1126)
OKLCHoklch(41.45% 0.164 316.6)
XYZxyz(11.1117, 6.0892, 22.7758)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2285 #3A8522
analogous
#3C2285 #6D2285 #85226B
triadic
#6D2285 #856D22 #22856D
tetradic
#6D2285 #853C22 #3A8522 #226B85
square
#6D2285 #853C22 #3A8522 #226B85
split-complementary
#6D2285 #6B8522 #22853C
monochromatic
#1D0924 #451654 #6D2285 #952EB6 #B24FD2

Accessibility & contrast

On white

9.47
#6D2285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D2285
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2285#FFFFFF#000000##FFFFFF
##6D22851.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d2285;
/* rgb */ color: rgb(109, 34, 133);
/* oklch */ color: oklch(41.5% 0.164 316.6);
Tailwind
colors: {
  custom: {
    50: '#9a65a9',
    500: '#6d2285',
    950: '#000000',
  },
}
SCSS
$custom: #6d2285;
$custom-light: #9a65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2285",
  "rgb": {
    "r": 109,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 285.455,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41451,
    "c": 0.16394,
    "h": 316.6
  },
  "luminance": 0.06089
}

Semantic roles & 50–950 ramp

primary
#6D2285
secondary
#67B64D
accent
#E2456B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D2285

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

Preview Lab → · Contrast checker → · Palette generator →

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