#6C1996#6C1996

#6C1996 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.189 H 310.5°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#6C1996
RGBrgb(108, 25, 150)
HSLhsl(280, 71%, 34%)
HSVhsv(280, 83%, 59%)
CMYKcmyk(28%, 83.3%, 0%, 41.2%)
CIE-LABlab(29.63, 54.41, -50.58)
CIE-LCHlch(29.63, 74.29, 317.09°)
OKLaboklab(41.81% 0.1225 -0.1436)
OKLCHoklch(41.81% 0.189 310.5)
XYZxyz(12.0359, 6.0857, 29.3889)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1996 #439619
analogous
#2E1996 #6C1996 #961982
triadic
#6C1996 #966C19 #19966C
tetradic
#6C1996 #962E19 #439619 #198296
square
#6C1996 #962E19 #439619 #198296
split-complementary
#6C1996 #829619 #19962E
monochromatic
#20082D #461062 #6C1996 #9222CA #AE49E1

Accessibility & contrast

On white

9.47
#6C1996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6C1996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1996
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1996#FFFFFF#000000##FFFFFF
##6C19961.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#663A59
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6c1996;
/* rgb */ color: rgb(108, 25, 150);
/* oklch */ color: oklch(41.8% 0.189 310.5);
Tailwind
colors: {
  custom: {
    50: '#9b62b6',
    500: '#6c1996',
    950: '#000000',
  },
}
SCSS
$custom: #6c1996;
$custom-light: #9b62b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1996",
  "rgb": {
    "r": 108,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 279.84,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41814,
    "c": 0.18876,
    "h": 310.5
  },
  "luminance": 0.06085
}

Semantic roles & 50–950 ramp

primary
#6C1996
secondary
#71C249
accent
#EE3A76
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C1996

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

Preview Lab → · Contrast checker → · Palette generator →

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