#6C2C97#6C2C97

#6C2C97 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.7% C 0.169 H 308.3°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#6C2C97
RGBrgb(108, 44, 151)
HSLhsl(276, 55%, 38%)
HSVhsv(276, 71%, 59%)
CMYKcmyk(28.5%, 70.9%, 0%, 40.8%)
CIE-LABlab(32.31, 47.18, -46.84)
CIE-LCHlch(32.31, 66.48, 315.20°)
OKLaboklab(43.73% 0.1048 -0.1327)
OKLCHoklch(43.73% 0.169 308.3)
XYZxyz(12.6698, 7.2241, 29.9991)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2C97 #57972C
analogous
#362C97 #6C2C97 #972C8C
triadic
#6C2C97 #976C2C #2C976C
tetradic
#6C2C97 #97362C #57972C #2C8C97
square
#6C2C97 #97362C #57972C #2C8C97
split-complementary
#6C2C97 #8C972C #2C9736
monochromatic
#281038 #4A1E68 #6C2C97 #8E3AC6 #A96AD4

Accessibility & contrast

On white

8.59
#6C2C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6C2C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2C97
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2C97#FFFFFF#000000##FFFFFF
##6C2C971.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#124D95
Tritanopia (blue-blind)
#65445E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6c2c97;
/* rgb */ color: rgb(108, 44, 151);
/* oklch */ color: oklch(43.7% 0.169 308.3);
Tailwind
colors: {
  custom: {
    50: '#9a6bb6',
    500: '#6c2c97',
    950: '#000000',
  },
}
SCSS
$custom: #6c2c97;
$custom-light: #9a6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2c97",
  "rgb": {
    "r": 108,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 275.888,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43731,
    "c": 0.1691,
    "h": 308.3
  },
  "luminance": 0.07224
}

Semantic roles & 50–950 ramp

primary
#6C2C97
secondary
#87BA65
accent
#DE4A85
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6C2C97

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

Preview Lab → · Contrast checker → · Palette generator →

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