#6D219D#6D219D

#6D219D is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.188 H 308.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#6D219D
RGBrgb(109, 33, 157)
HSLhsl(277, 65%, 37%)
HSVhsv(277, 79%, 62%)
CMYKcmyk(30.6%, 79%, 0%, 38.4%)
CIE-LABlab(31.29, 53.37, -52.16)
CIE-LCHlch(31.29, 74.62, 315.66°)
OKLaboklab(43.18% 0.1158 -0.1482)
OKLCHoklch(43.18% 0.188 308)
XYZxyz(12.9351, 6.7734, 32.5177)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D219D #519D21
analogous
#2F219D #6D219D #9D218F
triadic
#6D219D #9D6D21 #219D6D
tetradic
#6D219D #9D2F21 #519D21 #218F9D
square
#6D219D #9D2F21 #519D21 #218F9D
split-complementary
#6D219D #8F9D21 #219D2F
monochromatic
#270C38 #4A166A #6D219D #902CD0 #AB5CDD

Accessibility & contrast

On white

8.92
#6D219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D219D
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D219D#FFFFFF#000000##FFFFFF
##6D219D1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#65405F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6d219d;
/* rgb */ color: rgb(109, 33, 157);
/* oklch */ color: oklch(43.2% 0.188 308.0);
Tailwind
colors: {
  custom: {
    50: '#9c66bb',
    500: '#6d219d',
    950: '#000000',
  },
}
SCSS
$custom: #6d219d;
$custom-light: #9c66bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d219d",
  "rgb": {
    "r": 109,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 276.774,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43179,
    "c": 0.18812,
    "h": 308
  },
  "luminance": 0.06773
}

Semantic roles & 50–950 ramp

primary
#6D219D
secondary
#81C159
accent
#E84081
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D219D

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

Preview Lab → · Contrast checker → · Palette generator →

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