#6C2499#6C2499

#6C2499 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.181 H 308.5°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#6C2499
RGBrgb(108, 36, 153)
HSLhsl(277, 62%, 37%)
HSVhsv(277, 76%, 60%)
CMYKcmyk(29.4%, 76.5%, 0%, 40%)
CIE-LABlab(31.23, 51.12, -49.82)
CIE-LCHlch(31.23, 71.38, 315.74°)
OKLaboklab(43.01% 0.1126 -0.1414)
OKLCHoklch(43.01% 0.181 308.5)
XYZxyz(12.5638, 6.7500, 30.7718)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2499 #519924
analogous
#312499 #6C2499 #99248C
triadic
#6C2499 #996C24 #24996C
tetradic
#6C2499 #993124 #519924 #248C99
square
#6C2499 #993124 #519924 #248C99
split-complementary
#6C2499 #8C9924 #249931
monochromatic
#260D36 #491867 #6C2499 #8F30CB #AA5ED9

Accessibility & contrast

On white

8.94
#6C2499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6C2499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2499
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2499#FFFFFF#000000##FFFFFF
##6C24991.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#65405D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6c2499;
/* rgb */ color: rgb(108, 36, 153);
/* oklch */ color: oklch(43.0% 0.181 308.5);
Tailwind
colors: {
  custom: {
    50: '#9b67b8',
    500: '#6c2499',
    950: '#000000',
  },
}
SCSS
$custom: #6c2499;
$custom-light: #9b67b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2499",
  "rgb": {
    "r": 108,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 276.923,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43012,
    "c": 0.18076,
    "h": 308.5
  },
  "luminance": 0.0675
}

Semantic roles & 50–950 ramp

primary
#6C2499
secondary
#81BE5B
accent
#E54381
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C2499

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

Preview Lab → · Contrast checker → · Palette generator →

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