#6C2285#6C2285

#6C2285 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.164 H 316.1°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#6C2285
RGBrgb(108, 34, 133)
HSLhsl(285, 59%, 33%)
HSVhsv(285, 74%, 52%)
CMYKcmyk(18.8%, 74.4%, 0%, 47.8%)
CIE-LABlab(29.48, 47.56, -40.30)
CIE-LCHlch(29.48, 62.34, 319.72°)
OKLaboklab(41.31% 0.1178 -0.1134)
OKLCHoklch(41.31% 0.164 316.1)
XYZxyz(10.9893, 6.0261, 22.7700)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2285 #3B8522
analogous
#3A2285 #6C2285 #85226D
triadic
#6C2285 #856C22 #22856C
tetradic
#6C2285 #853A22 #3B8522 #226D85
square
#6C2285 #853A22 #3B8522 #226D85
split-complementary
#6C2285 #6D8522 #22853A
monochromatic
#1D0924 #441654 #6C2285 #942EB6 #B14FD2

Accessibility & contrast

On white

9.52
#6C2285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C2285
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2285#FFFFFF#000000##FFFFFF
##6C22851.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#214783
Tritanopia (blue-blind)
#6A3751
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6c2285;
/* rgb */ color: rgb(108, 34, 133);
/* oklch */ color: oklch(41.3% 0.164 316.1);
Tailwind
colors: {
  custom: {
    50: '#9a65a9',
    500: '#6c2285',
    950: '#000000',
  },
}
SCSS
$custom: #6c2285;
$custom-light: #9a65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2285",
  "rgb": {
    "r": 108,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 284.848,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41307,
    "c": 0.16353,
    "h": 316.1
  },
  "luminance": 0.06026
}

Semantic roles & 50–950 ramp

primary
#6C2285
secondary
#68B64D
accent
#E2456D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C2285

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

Preview Lab → · Contrast checker → · Palette generator →

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