#6C2396#6C2396

#6C2396 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.179 H 309.6°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#6C2396
RGBrgb(108, 35, 150)
HSLhsl(278, 62%, 36%)
HSVhsv(278, 77%, 59%)
CMYKcmyk(28%, 76.7%, 0%, 41.2%)
CIE-LABlab(30.86, 50.85, -48.58)
CIE-LCHlch(30.86, 70.33, 316.31°)
OKLaboklab(42.68% 0.1141 -0.1378)
OKLCHoklch(42.68% 0.179 309.6)
XYZxyz(12.2893, 6.5925, 29.4733)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2396 #4D9623
analogous
#332396 #6C2396 #962387
triadic
#6C2396 #966C23 #23966C
tetradic
#6C2396 #963323 #4D9623 #238796
square
#6C2396 #963323 #4D9623 #238796
split-complementary
#6C2396 #879623 #239633
monochromatic
#250C33 #481764 #6C2396 #902FC8 #AB5BD9

Accessibility & contrast

On white

9.06
#6C2396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6C2396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2396
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2396#FFFFFF#000000##FFFFFF
##6C23961.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#004A94
Tritanopia (blue-blind)
#663E5B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6c2396;
/* rgb */ color: rgb(108, 35, 150);
/* oklch */ color: oklch(42.7% 0.179 309.6);
Tailwind
colors: {
  custom: {
    50: '#9b66b6',
    500: '#6c2396',
    950: '#000000',
  },
}
SCSS
$custom: #6c2396;
$custom-light: #9b66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2396",
  "rgb": {
    "r": 108,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 278.087,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42678,
    "c": 0.17891,
    "h": 309.6
  },
  "luminance": 0.06592
}

Semantic roles & 50–950 ramp

primary
#6C2396
secondary
#7DBD58
accent
#E5437E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C2396

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

Preview Lab → · Contrast checker → · Palette generator →

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