#6C249C#6C249C

#6C249C is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.2% C 0.184 H 307.6°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#6C249C
RGBrgb(108, 36, 156)
HSLhsl(276, 63%, 38%)
HSVhsv(276, 77%, 61%)
CMYKcmyk(30.8%, 76.9%, 0%, 38.8%)
CIE-LABlab(31.46, 51.80, -51.27)
CIE-LCHlch(31.46, 72.88, 315.30°)
OKLaboklab(43.25% 0.112 -0.1457)
OKLCHoklch(43.25% 0.184 307.6)
XYZxyz(12.8147, 6.8504, 32.0932)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C249C #549C24
analogous
#30249C #6C249C #9C2490
triadic
#6C249C #9C6C24 #249C6C
tetradic
#6C249C #9C3024 #549C24 #24909C
square
#6C249C #9C3024 #549C24 #24909C
split-complementary
#6C249C #909C24 #249C30
monochromatic
#270D39 #4A196A #6C249C #8E2FCE #A960DA

Accessibility & contrast

On white

8.86
#6C249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6C249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C249C
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C249C#FFFFFF#000000##FFFFFF
##6C249C1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#64425F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6c249c;
/* rgb */ color: rgb(108, 36, 156);
/* oklch */ color: oklch(43.2% 0.184 307.6);
Tailwind
colors: {
  custom: {
    50: '#9b67ba',
    500: '#6c249c',
    950: '#000000',
  },
}
SCSS
$custom: #6c249c;
$custom-light: #9b67ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6c249c",
  "rgb": {
    "r": 108,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 276,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43249,
    "c": 0.18374,
    "h": 307.6
  },
  "luminance": 0.0685
}

Semantic roles & 50–950 ramp

primary
#6C249C
secondary
#84BF5C
accent
#E64284
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6C249C

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

Preview Lab → · Contrast checker → · Palette generator →

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