#6C1E90#6C1E90

#6C1E90 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.178 H 312.2°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#6C1E90
RGBrgb(108, 30, 144)
HSLhsl(281, 66%, 34%)
HSVhsv(281, 79%, 56%)
CMYKcmyk(25%, 79.2%, 0%, 43.5%)
CIE-LABlab(29.74, 51.44, -46.71)
CIE-LCHlch(29.74, 69.48, 317.76°)
OKLaboklab(41.75% 0.1199 -0.1322)
OKLCHoklch(41.75% 0.178 312.2)
XYZxyz(11.6817, 6.1306, 26.9481)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1E90 #42901E
analogous
#331E90 #6C1E90 #901E7B
triadic
#6C1E90 #906C1E #1E906C
tetradic
#6C1E90 #90331E #42901E #1E7B90
square
#6C1E90 #90331E #42901E #1E7B90
split-complementary
#6C1E90 #7B901E #1E9033
monochromatic
#20092B #46135D #6C1E90 #9229C3 #AE4EDA

Accessibility & contrast

On white

9.43
#6C1E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6C1E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1E90
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1E90#FFFFFF#000000##FFFFFF
##6C1E901.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#09488E
Tritanopia (blue-blind)
#683957
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6c1e90;
/* rgb */ color: rgb(108, 30, 144);
/* oklch */ color: oklch(41.7% 0.178 312.2);
Tailwind
colors: {
  custom: {
    50: '#9a64b1',
    500: '#6c1e90',
    950: '#000000',
  },
}
SCSS
$custom: #6c1e90;
$custom-light: #9a64b1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1e90",
  "rgb": {
    "r": 108,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 281.053,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41745,
    "c": 0.17849,
    "h": 312.2
  },
  "luminance": 0.0613
}

Semantic roles & 50–950 ramp

primary
#6C1E90
secondary
#70BD4D
accent
#E83F75
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C1E90

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

Preview Lab → · Contrast checker → · Palette generator →

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