#6C2090#6C2090

#6C2090 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.176 H 312.0°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#6C2090
RGBrgb(108, 32, 144)
HSLhsl(281, 64%, 35%)
HSVhsv(281, 78%, 56%)
CMYKcmyk(25%, 77.8%, 0%, 43.5%)
CIE-LABlab(30.00, 50.70, -46.29)
CIE-LCHlch(30.00, 68.65, 317.60°)
OKLaboklab(41.93% 0.1181 -0.131)
OKLCHoklch(41.93% 0.176 312)
XYZxyz(11.7340, 6.2351, 26.9655)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2090 #449020
analogous
#342090 #6C2090 #90207C
triadic
#6C2090 #906C20 #20906C
tetradic
#6C2090 #903420 #449020 #207C90
square
#6C2090 #903420 #449020 #207C90
split-complementary
#6C2090 #7C9020 #209034
monochromatic
#210A2C #46155E #6C2090 #922BC2 #AD52D9

Accessibility & contrast

On white

9.35
#6C2090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6C2090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2090
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2090#FFFFFF#000000##FFFFFF
##6C20901.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#0D488E
Tritanopia (blue-blind)
#683A57
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6c2090;
/* rgb */ color: rgb(108, 32, 144);
/* oklch */ color: oklch(41.9% 0.176 312.0);
Tailwind
colors: {
  custom: {
    50: '#9a64b1',
    500: '#6c2090',
    950: '#000000',
  },
}
SCSS
$custom: #6c2090;
$custom-light: #9a64b1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2090",
  "rgb": {
    "r": 108,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 280.714,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41927,
    "c": 0.17638,
    "h": 312
  },
  "luminance": 0.06235
}

Semantic roles & 50–950 ramp

primary
#6C2090
secondary
#73BC50
accent
#E74176
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6C2090

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

Preview Lab → · Contrast checker → · Palette generator →

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