#6C219F#6C219F

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

Color values

HEX#6C219F
RGBrgb(108, 33, 159)
HSLhsl(276, 66%, 38%)
HSVhsv(276, 79%, 62%)
CMYKcmyk(32.1%, 79.2%, 0%, 37.6%)
CIE-LABlab(31.30, 53.64, -53.36)
CIE-LCHlch(31.30, 75.66, 315.15°)
OKLaboklab(43.21% 0.1139 -0.1518)
OKLCHoklch(43.21% 0.19 306.9)
XYZxyz(12.9848, 6.7792, 33.4186)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C219F #549F21
analogous
#2D219F #6C219F #9F2193
triadic
#6C219F #9F6C21 #219F6C
tetradic
#6C219F #9F2D21 #549F21 #21939F
square
#6C219F #9F2D21 #549F21 #21939F
split-complementary
#6C219F #939F21 #219F2D
monochromatic
#270C3A #4A166C #6C219F #8E2CD2 #A95DDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C219F#FFFFFF#000000##FFFFFF
##6C219F1.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)
#0047A2
Deuteranopia (green-blind)
#004A9C
Tritanopia (blue-blind)
#634160
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6c219f;
/* rgb */ color: rgb(108, 33, 159);
/* oklch */ color: oklch(43.2% 0.190 306.9);
Tailwind
colors: {
  custom: {
    50: '#9b66bc',
    500: '#6c219f',
    950: '#000000',
  },
}
SCSS
$custom: #6c219f;
$custom-light: #9b66bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c219f",
  "rgb": {
    "r": 108,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 275.714,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43208,
    "c": 0.1898,
    "h": 306.9
  },
  "luminance": 0.06779
}

Semantic roles & 50–950 ramp

primary
#6C219F
secondary
#84C25A
accent
#E93F84
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C219F

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

Preview Lab → · Contrast checker → · Palette generator →

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