#6C2096#6C2096

#6C2096 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.182 H 309.9°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#6C2096
RGBrgb(108, 32, 150)
HSLhsl(279, 65%, 36%)
HSVhsv(279, 79%, 59%)
CMYKcmyk(28%, 78.7%, 0%, 41.2%)
CIE-LABlab(30.46, 52.01, -49.24)
CIE-LCHlch(30.46, 71.62, 316.57°)
OKLaboklab(42.39% 0.1169 -0.1397)
OKLCHoklch(42.39% 0.182 309.9)
XYZxyz(12.2048, 6.4234, 29.4452)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2096 #4A9620
analogous
#312096 #6C2096 #962085
triadic
#6C2096 #966C20 #20966C
tetradic
#6C2096 #963120 #4A9620 #208596
square
#6C2096 #963120 #4A9620 #208596
split-complementary
#6C2096 #859620 #209631
monochromatic
#230A31 #481564 #6C2096 #902BC8 #AB56DB

Accessibility & contrast

On white

9.19
#6C2096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6C2096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2096
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2096#FFFFFF#000000##FFFFFF
##6C20961.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#663D5A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6c2096;
/* rgb */ color: rgb(108, 32, 150);
/* oklch */ color: oklch(42.4% 0.182 309.9);
Tailwind
colors: {
  custom: {
    50: '#9b65b6',
    500: '#6c2096',
    950: '#000000',
  },
}
SCSS
$custom: #6c2096;
$custom-light: #9b65b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2096",
  "rgb": {
    "r": 108,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 278.644,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42394,
    "c": 0.18213,
    "h": 309.9
  },
  "luminance": 0.06423
}

Semantic roles & 50–950 ramp

primary
#6C2096
secondary
#79BE53
accent
#E8407C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C2096

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

Preview Lab → · Contrast checker → · Palette generator →

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