#6C219D#6C219D

#6C219D is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.188 H 307.5°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#6C219D
RGBrgb(108, 33, 157)
HSLhsl(276, 65%, 37%)
HSVhsv(276, 79%, 62%)
CMYKcmyk(31.2%, 79%, 0%, 38.4%)
CIE-LABlab(31.14, 53.19, -52.40)
CIE-LCHlch(31.14, 74.67, 315.43°)
OKLaboklab(43.05% 0.1144 -0.149)
OKLCHoklch(43.05% 0.188 307.5)
XYZxyz(12.8127, 6.7104, 32.5120)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C219D #529D21
analogous
#2E219D #6C219D #9D2190
triadic
#6C219D #9D6C21 #219D6C
tetradic
#6C219D #9D2E21 #529D21 #21909D
square
#6C219D #9D2E21 #529D21 #21909D
split-complementary
#6C219D #909D21 #219D2E
monochromatic
#260C38 #49166A #6C219D #8F2CD0 #AA5CDD

Accessibility & contrast

On white

8.97
#6C219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6C219D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C219D
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C219D#FFFFFF#000000##FFFFFF
##6C219D1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#64415F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6c219d;
/* rgb */ color: rgb(108, 33, 157);
/* oklch */ color: oklch(43.0% 0.188 307.5);
Tailwind
colors: {
  custom: {
    50: '#9b65bb',
    500: '#6c219d',
    950: '#000000',
  },
}
SCSS
$custom: #6c219d;
$custom-light: #9b65bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c219d",
  "rgb": {
    "r": 108,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 276.29,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43045,
    "c": 0.18786,
    "h": 307.5
  },
  "luminance": 0.0671
}

Semantic roles & 50–950 ramp

primary
#6C219D
secondary
#82C159
accent
#E84082
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6C219D

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

Preview Lab → · Contrast checker → · Palette generator →

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