#6D219C#6D219C

#6D219C is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.1% C 0.187 H 308.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#6D219C
RGBrgb(109, 33, 156)
HSLhsl(277, 65%, 37%)
HSVhsv(277, 79%, 61%)
CMYKcmyk(30.1%, 78.8%, 0%, 38.8%)
CIE-LABlab(31.21, 53.15, -51.68)
CIE-LCHlch(31.21, 74.13, 315.80°)
OKLaboklab(43.1% 0.1161 -0.1468)
OKLCHoklch(43.1% 0.187 308.3)
XYZxyz(12.8500, 6.7394, 32.0699)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D219C #509C21
analogous
#30219C #6D219C #9C218E
triadic
#6D219C #9C6D21 #219C6D
tetradic
#6D219C #9C3021 #509C21 #218E9C
square
#6D219C #9C3021 #509C21 #218E9C
split-complementary
#6D219C #8E9C21 #219C30
monochromatic
#260C37 #4A1669 #6D219C #902CCF #AB5BDC

Accessibility & contrast

On white

8.94
#6D219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6D219C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D219C
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D219C#FFFFFF#000000##FFFFFF
##6D219C1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#65405E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6d219c;
/* rgb */ color: rgb(109, 33, 156);
/* oklch */ color: oklch(43.1% 0.187 308.3);
Tailwind
colors: {
  custom: {
    50: '#9c66ba',
    500: '#6d219c',
    950: '#000000',
  },
}
SCSS
$custom: #6d219c;
$custom-light: #9c66ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6d219c",
  "rgb": {
    "r": 109,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 277.073,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43098,
    "c": 0.18715,
    "h": 308.3
  },
  "luminance": 0.06739
}

Semantic roles & 50–950 ramp

primary
#6D219C
secondary
#80C158
accent
#E84080
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D219C

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

Preview Lab → · Contrast checker → · Palette generator →

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