#6C1895#6C1895

#6C1895 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.7% C 0.189 H 310.9°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#6C1895
RGBrgb(108, 24, 149)
HSLhsl(280, 72%, 34%)
HSVhsv(280, 84%, 58%)
CMYKcmyk(27.5%, 83.9%, 0%, 41.6%)
CIE-LABlab(29.44, 54.51, -50.27)
CIE-LCHlch(29.44, 74.15, 317.31°)
OKLaboklab(41.66% 0.1235 -0.1427)
OKLCHoklch(41.66% 0.189 310.9)
XYZxyz(11.9347, 6.0116, 28.9596)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1895 #419518
analogous
#2E1895 #6C1895 #951880
triadic
#6C1895 #956C18 #18956C
tetradic
#6C1895 #952E18 #419518 #188095
square
#6C1895 #952E18 #419518 #188095
split-complementary
#6C1895 #809518 #18952E
monochromatic
#20072C #461060 #6C1895 #9220CA #AE46E1

Accessibility & contrast

On white

9.54
#6C1895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1895
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1895#FFFFFF#000000##FFFFFF
##6C18951.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#004793
Tritanopia (blue-blind)
#663958
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6c1895;
/* rgb */ color: rgb(108, 24, 149);
/* oklch */ color: oklch(41.7% 0.189 310.9);
Tailwind
colors: {
  custom: {
    50: '#9b61b5',
    500: '#6c1895',
    950: '#000000',
  },
}
SCSS
$custom: #6c1895;
$custom-light: #9b61b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1895",
  "rgb": {
    "r": 108,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 280.32,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41659,
    "c": 0.1887,
    "h": 310.9
  },
  "luminance": 0.06011
}

Semantic roles & 50–950 ramp

primary
#6C1895
secondary
#6FC246
accent
#EF3975
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C1895

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

Preview Lab → · Contrast checker → · Palette generator →

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