#6C249A#6C249A

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

Color values

HEX#6C249A
RGBrgb(108, 36, 154)
HSLhsl(277, 62%, 37%)
HSVhsv(277, 77%, 60%)
CMYKcmyk(29.9%, 76.6%, 0%, 39.6%)
CIE-LABlab(31.31, 51.35, -50.30)
CIE-LCHlch(31.31, 71.88, 315.59°)
OKLaboklab(43.09% 0.1124 -0.1428)
OKLCHoklch(43.09% 0.182 308.2)
XYZxyz(12.6467, 6.7832, 31.2086)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C249A #529A24
analogous
#31249A #6C249A #9A248D
triadic
#6C249A #9A6C24 #249A6C
tetradic
#6C249A #9A3124 #529A24 #248D9A
square
#6C249A #9A3124 #529A24 #248D9A
split-complementary
#6C249A #8D9A24 #249A31
monochromatic
#260D37 #491868 #6C249A #8F30CC #AA5FDA

Accessibility & contrast

On white

8.91
#6C249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C249A
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C249A#FFFFFF#000000##FFFFFF
##6C249A1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c249a;
/* rgb */ color: rgb(108, 36, 154);
/* oklch */ color: oklch(43.1% 0.182 308.2);
Tailwind
colors: {
  custom: {
    50: '#9b67b9',
    500: '#6c249a',
    950: '#000000',
  },
}
SCSS
$custom: #6c249a;
$custom-light: #9b67b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c249a",
  "rgb": {
    "r": 108,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 276.61,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43091,
    "c": 0.18176,
    "h": 308.2
  },
  "luminance": 0.06783
}

Semantic roles & 50–950 ramp

primary
#6C249A
secondary
#82BF5B
accent
#E54382
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C249A

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

Preview Lab → · Contrast checker → · Palette generator →

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