#6C1CA8#6C1CA8

#6C1CA8 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.5% C 0.203 H 304.6°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#6C1CA8
RGBrgb(108, 28, 168)
HSLhsl(274, 71%, 38%)
HSVhsv(274, 83%, 66%)
CMYKcmyk(35.7%, 83.3%, 0%, 34.1%)
CIE-LABlab(31.45, 57.40, -58.55)
CIE-LCHlch(31.45, 81.99, 314.43°)
OKLaboklab(43.55% 0.1152 -0.167)
OKLCHoklch(43.55% 0.203 304.6)
XYZxyz(13.6658, 6.8459, 37.6396)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1CA8 #58A81C
analogous
#261CA8 #6C1CA8 #A81C9E
triadic
#6C1CA8 #A86C1C #1CA86C
tetradic
#6C1CA8 #A8261C #58A81C #1C9EA8
square
#6C1CA8 #A8261C #58A81C #1C9EA8
split-complementary
#6C1CA8 #9EA81C #1CA826
monochromatic
#290B3F #4A1374 #6C1CA8 #8D26DB #A95BE4

Accessibility & contrast

On white

8.86
#6C1CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6C1CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1CA8
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1CA8#FFFFFF#000000##FFFFFF
##6C1CA81.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#004AA5
Tritanopia (blue-blind)
#604364
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6c1ca8;
/* rgb */ color: rgb(108, 28, 168);
/* oklch */ color: oklch(43.5% 0.203 304.6);
Tailwind
colors: {
  custom: {
    50: '#9c64c3',
    500: '#6c1ca8',
    950: '#000000',
  },
}
SCSS
$custom: #6c1ca8;
$custom-light: #9c64c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1ca8",
  "rgb": {
    "r": 108,
    "g": 28,
    "b": 168
  },
  "hsl": {
    "h": 274.286,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43548,
    "c": 0.20291,
    "h": 304.6
  },
  "luminance": 0.06846
}

Semantic roles & 50–950 ramp

primary
#6C1CA8
secondary
#88C758
accent
#EE3A87
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6C1CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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