#6C219A#6C219A

#6C219A is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.185 H 308.5°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#6C219A
RGBrgb(108, 33, 154)
HSLhsl(277, 65%, 37%)
HSVhsv(277, 79%, 60%)
CMYKcmyk(29.9%, 78.6%, 0%, 39.6%)
CIE-LABlab(30.90, 52.52, -50.96)
CIE-LCHlch(30.90, 73.18, 315.86°)
OKLaboklab(42.8% 0.1151 -0.1448)
OKLCHoklch(42.8% 0.185 308.5)
XYZxyz(12.5597, 6.6092, 31.1796)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C219A #4F9A21
analogous
#30219A #6C219A #9A218C
triadic
#6C219A #9A6C21 #219A6C
tetradic
#6C219A #9A3021 #4F9A21 #218C9A
square
#6C219A #9A3021 #4F9A21 #218C9A
split-complementary
#6C219A #8C9A21 #219A30
monochromatic
#250B35 #491668 #6C219A #8F2CCC #AA5ADC

Accessibility & contrast

On white

9.04
#6C219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6C219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C219A
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C219A#FFFFFF#000000##FFFFFF
##6C219A1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#004A98
Tritanopia (blue-blind)
#653F5D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6c219a;
/* rgb */ color: rgb(108, 33, 154);
/* oklch */ color: oklch(42.8% 0.185 308.5);
Tailwind
colors: {
  custom: {
    50: '#9b65b9',
    500: '#6c219a',
    950: '#000000',
  },
}
SCSS
$custom: #6c219a;
$custom-light: #9b65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c219a",
  "rgb": {
    "r": 108,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 277.19,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42803,
    "c": 0.18495,
    "h": 308.5
  },
  "luminance": 0.06609
}

Semantic roles & 50–950 ramp

primary
#6C219A
secondary
#7FC057
accent
#E84080
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C219A

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

Preview Lab → · Contrast checker → · Palette generator →

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