#6C2599#6C2599

#6C2599 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.180 H 308.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#6C2599
RGBrgb(108, 37, 153)
HSLhsl(277, 61%, 37%)
HSVhsv(277, 76%, 60%)
CMYKcmyk(29.4%, 75.8%, 0%, 40%)
CIE-LABlab(31.37, 50.71, -49.58)
CIE-LCHlch(31.37, 70.92, 315.64°)
OKLaboklab(43.11% 0.1117 -0.1407)
OKLCHoklch(43.11% 0.18 308.4)
XYZxyz(12.5945, 6.8114, 30.7821)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2599 #529925
analogous
#322599 #6C2599 #99258C
triadic
#6C2599 #996C25 #25996C
tetradic
#6C2599 #993225 #529925 #258C99
square
#6C2599 #993225 #529925 #258C99
split-complementary
#6C2599 #8C9925 #259932
monochromatic
#260D36 #491968 #6C2599 #8F31CA #AA60D9

Accessibility & contrast

On white

8.89
#6C2599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6C2599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2599
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2599#FFFFFF#000000##FFFFFF
##6C25991.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#65415D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6c2599;
/* rgb */ color: rgb(108, 37, 153);
/* oklch */ color: oklch(43.1% 0.180 308.4);
Tailwind
colors: {
  custom: {
    50: '#9b67b8',
    500: '#6c2599',
    950: '#000000',
  },
}
SCSS
$custom: #6c2599;
$custom-light: #9b67b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2599",
  "rgb": {
    "r": 108,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 276.724,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43112,
    "c": 0.17965,
    "h": 308.4
  },
  "luminance": 0.06811
}

Semantic roles & 50–950 ramp

primary
#6C2599
secondary
#82BE5C
accent
#E44482
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C2599

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

Preview Lab → · Contrast checker → · Palette generator →

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