#6C2284#6C2284

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

Color values

HEX#6C2284
RGBrgb(108, 34, 132)
HSLhsl(285, 59%, 33%)
HSVhsv(285, 74%, 52%)
CMYKcmyk(18.2%, 74.2%, 0%, 48.2%)
CIE-LABlab(29.41, 47.35, -39.79)
CIE-LCHlch(29.41, 61.85, 319.96°)
OKLaboklab(41.24% 0.1179 -0.1119)
OKLCHoklch(41.24% 0.163 316.5)
XYZxyz(10.9206, 5.9986, 22.4079)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2284 #3A8422
analogous
#3B2284 #6C2284 #84226B
triadic
#6C2284 #846C22 #22846C
tetradic
#6C2284 #843B22 #3A8422 #226B84
square
#6C2284 #843B22 #3A8422 #226B84
split-complementary
#6C2284 #6B8422 #22843B
monochromatic
#1C0923 #441553 #6C2284 #942FB5 #B24FD2

Accessibility & contrast

On white

9.55
#6C2284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C2284
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2284#FFFFFF#000000##FFFFFF
##6C22841.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004187
Deuteranopia (green-blind)
#224782
Tritanopia (blue-blind)
#6B3651
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6c2284;
/* rgb */ color: rgb(108, 34, 132);
/* oklch */ color: oklch(41.2% 0.163 316.5);
Tailwind
colors: {
  custom: {
    50: '#9965a8',
    500: '#6c2284',
    950: '#000000',
  },
}
SCSS
$custom: #6c2284;
$custom-light: #9965a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2284",
  "rgb": {
    "r": 108,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 285.306,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41235,
    "c": 0.16258,
    "h": 316.5
  },
  "luminance": 0.05998
}

Semantic roles & 50–950 ramp

primary
#6C2284
secondary
#66B54D
accent
#E2466C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C2284

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

Preview Lab → · Contrast checker → · Palette generator →

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