#6C219B#6C219B

#6C219B is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.186 H 308.2°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#6C219B
RGBrgb(108, 33, 155)
HSLhsl(277, 65%, 37%)
HSVhsv(277, 79%, 61%)
CMYKcmyk(30.3%, 78.7%, 0%, 39.2%)
CIE-LABlab(30.98, 52.74, -51.45)
CIE-LCHlch(30.98, 73.68, 315.71°)
OKLaboklab(42.88% 0.1149 -0.1462)
OKLCHoklch(42.88% 0.186 308.2)
XYZxyz(12.6434, 6.6426, 31.6201)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C219B #509B21
analogous
#2F219B #6C219B #9B218D
triadic
#6C219B #9B6C21 #219B6C
tetradic
#6C219B #9B2F21 #509B21 #218D9B
square
#6C219B #9B2F21 #509B21 #218D9B
split-complementary
#6C219B #8D9B21 #219B2F
monochromatic
#260C36 #491669 #6C219B #8F2CCD #AA5ADC

Accessibility & contrast

On white

9.02
#6C219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C219B
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C219B#FFFFFF#000000##FFFFFF
##6C219B1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c219b;
/* rgb */ color: rgb(108, 33, 155);
/* oklch */ color: oklch(42.9% 0.186 308.2);
Tailwind
colors: {
  custom: {
    50: '#9b65b9',
    500: '#6c219b',
    950: '#000000',
  },
}
SCSS
$custom: #6c219b;
$custom-light: #9b65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c219b",
  "rgb": {
    "r": 108,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 276.885,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42884,
    "c": 0.18592,
    "h": 308.2
  },
  "luminance": 0.06642
}

Semantic roles & 50–950 ramp

primary
#6C219B
secondary
#80C058
accent
#E84081
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6C219B

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

Preview Lab → · Contrast checker → · Palette generator →

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