#6D219A#6D219A

#6D219A is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.185 H 309.0°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#6D219A
RGBrgb(109, 33, 154)
HSLhsl(278, 65%, 37%)
HSVhsv(278, 79%, 60%)
CMYKcmyk(29.2%, 78.6%, 0%, 39.6%)
CIE-LABlab(31.05, 52.70, -50.72)
CIE-LCHlch(31.05, 73.14, 316.10°)
OKLaboklab(42.94% 0.1165 -0.144)
OKLCHoklch(42.94% 0.185 309)
XYZxyz(12.6821, 6.6723, 31.1854)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D219A #4E9A21
analogous
#31219A #6D219A #9A218B
triadic
#6D219A #9A6D21 #219A6D
tetradic
#6D219A #9A3121 #4E9A21 #218B9A
square
#6D219A #9A3121 #4E9A21 #218B9A
split-complementary
#6D219A #8B9A21 #219A31
monochromatic
#260B35 #491668 #6D219A #912CCC #AB5ADC

Accessibility & contrast

On white

9.00
#6D219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6D219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D219A
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D219A#FFFFFF#000000##FFFFFF
##6D219A1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d219a;
/* rgb */ color: rgb(109, 33, 154);
/* oklch */ color: oklch(42.9% 0.185 309.0);
Tailwind
colors: {
  custom: {
    50: '#9c65b9',
    500: '#6d219a',
    950: '#000000',
  },
}
SCSS
$custom: #6d219a;
$custom-light: #9c65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d219a",
  "rgb": {
    "r": 109,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 277.686,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42939,
    "c": 0.18523,
    "h": 309
  },
  "luminance": 0.06672
}

Semantic roles & 50–950 ramp

primary
#6D219A
secondary
#7EC057
accent
#E8407E
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6D219A

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

Preview Lab → · Contrast checker → · Palette generator →

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