#6C219E#6C219E

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

Color values

HEX#6C219E
RGBrgb(108, 33, 158)
HSLhsl(276, 65%, 37%)
HSVhsv(276, 79%, 62%)
CMYKcmyk(31.6%, 79.1%, 0%, 38%)
CIE-LABlab(31.22, 53.42, -52.88)
CIE-LCHlch(31.22, 75.16, 315.29°)
OKLaboklab(43.13% 0.1142 -0.1504)
OKLCHoklch(43.13% 0.189 307.2)
XYZxyz(12.8984, 6.7446, 32.9635)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C219E #539E21
analogous
#2E219E #6C219E #9E2192
triadic
#6C219E #9E6C21 #219E6C
tetradic
#6C219E #9E2E21 #539E21 #21929E
square
#6C219E #9E2E21 #539E21 #21929E
split-complementary
#6C219E #929E21 #219E2E
monochromatic
#270C39 #49166B #6C219E #8F2CD1 #AA5CDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C219E#FFFFFF#000000##FFFFFF
##6C219E1.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)
#0047A1
Deuteranopia (green-blind)
#004A9C
Tritanopia (blue-blind)
#63415F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6c219e;
/* rgb */ color: rgb(108, 33, 158);
/* oklch */ color: oklch(43.1% 0.189 307.2);
Tailwind
colors: {
  custom: {
    50: '#9b66bc',
    500: '#6c219e',
    950: '#000000',
  },
}
SCSS
$custom: #6c219e;
$custom-light: #9b66bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c219e",
  "rgb": {
    "r": 108,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 276,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43126,
    "c": 0.18883,
    "h": 307.2
  },
  "luminance": 0.06744
}

Semantic roles & 50–950 ramp

primary
#6C219E
secondary
#83C159
accent
#E83F83
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C219E

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

Preview Lab → · Contrast checker → · Palette generator →

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