#6D219E#6D219E

#6D219E is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.3% C 0.189 H 307.7°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#6D219E
RGBrgb(109, 33, 158)
HSLhsl(276, 65%, 37%)
HSVhsv(276, 79%, 62%)
CMYKcmyk(31%, 79.1%, 0%, 38%)
CIE-LABlab(31.37, 53.59, -52.64)
CIE-LCHlch(31.37, 75.12, 315.52°)
OKLaboklab(43.26% 0.1156 -0.1496)
OKLCHoklch(43.26% 0.189 307.7)
XYZxyz(13.0208, 6.8077, 32.9692)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D219E #529E21
analogous
#2F219E #6D219E #9E2191
triadic
#6D219E #9E6D21 #219E6D
tetradic
#6D219E #9E2F21 #529E21 #21919E
square
#6D219E #9E2F21 #529E21 #21919E
split-complementary
#6D219E #919E21 #219E2F
monochromatic
#270C39 #4A166B #6D219E #902CD1 #AB5CDD

Accessibility & contrast

On white

8.89
#6D219E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6D219E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D219E
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D219E#FFFFFF#000000##FFFFFF
##6D219E1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#004A9C
Tritanopia (blue-blind)
#65415F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6d219e;
/* rgb */ color: rgb(109, 33, 158);
/* oklch */ color: oklch(43.3% 0.189 307.7);
Tailwind
colors: {
  custom: {
    50: '#9c66bb',
    500: '#6d219e',
    950: '#000000',
  },
}
SCSS
$custom: #6d219e;
$custom-light: #9c66bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d219e",
  "rgb": {
    "r": 109,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 276.48,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4326,
    "c": 0.18909,
    "h": 307.7
  },
  "luminance": 0.06808
}

Semantic roles & 50–950 ramp

primary
#6D219E
secondary
#82C159
accent
#E83F82
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D219E

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

Preview Lab → · Contrast checker → · Palette generator →

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