#6C219C#6C219C

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

Color values

HEX#6C219C
RGBrgb(108, 33, 156)
HSLhsl(277, 65%, 37%)
HSVhsv(277, 79%, 61%)
CMYKcmyk(30.8%, 78.8%, 0%, 38.8%)
CIE-LABlab(31.06, 52.97, -51.93)
CIE-LCHlch(31.06, 74.17, 315.57°)
OKLaboklab(42.96% 0.1147 -0.1476)
OKLCHoklch(42.96% 0.187 307.8)
XYZxyz(12.7277, 6.6763, 32.0642)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C219C #519C21
analogous
#2E219C #6C219C #9C218F
triadic
#6C219C #9C6C21 #219C6C
tetradic
#6C219C #9C2E21 #519C21 #218F9C
square
#6C219C #9C2E21 #519C21 #218F9C
split-complementary
#6C219C #8F9C21 #219C2E
monochromatic
#260C37 #491669 #6C219C #8F2CCF #AA5BDC

Accessibility & contrast

On white

8.99
#6C219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C219C
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C219C#FFFFFF#000000##FFFFFF
##6C219C1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c219c;
/* rgb */ color: rgb(108, 33, 156);
/* oklch */ color: oklch(43.0% 0.187 307.8);
Tailwind
colors: {
  custom: {
    50: '#9b65ba',
    500: '#6c219c',
    950: '#000000',
  },
}
SCSS
$custom: #6c219c;
$custom-light: #9b65ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6c219c",
  "rgb": {
    "r": 108,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 276.585,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42964,
    "c": 0.18689,
    "h": 307.8
  },
  "luminance": 0.06676
}

Semantic roles & 50–950 ramp

primary
#6C219C
secondary
#81C158
accent
#E84081
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6C219C

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

Preview Lab → · Contrast checker → · Palette generator →

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