#6D219B#6D219B

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

Color values

HEX#6D219B
RGBrgb(109, 33, 155)
HSLhsl(277, 65%, 37%)
HSVhsv(277, 79%, 61%)
CMYKcmyk(29.7%, 78.7%, 0%, 39.2%)
CIE-LABlab(31.13, 52.92, -51.20)
CIE-LCHlch(31.13, 73.63, 315.95°)
OKLaboklab(43.02% 0.1163 -0.1454)
OKLCHoklch(43.02% 0.186 308.7)
XYZxyz(12.7657, 6.7057, 31.6258)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D219B #4F9B21
analogous
#30219B #6D219B #9B218C
triadic
#6D219B #9B6D21 #219B6D
tetradic
#6D219B #9B3021 #4F9B21 #218C9B
square
#6D219B #9B3021 #4F9B21 #218C9B
split-complementary
#6D219B #8C9B21 #219B30
monochromatic
#260C36 #4A1669 #6D219B #902CCD #AB5ADC

Accessibility & contrast

On white

8.97
#6D219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D219B
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D219B#FFFFFF#000000##FFFFFF
##6D219B1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d219b;
/* rgb */ color: rgb(109, 33, 155);
/* oklch */ color: oklch(43.0% 0.186 308.7);
Tailwind
colors: {
  custom: {
    50: '#9c66b9',
    500: '#6d219b',
    950: '#000000',
  },
}
SCSS
$custom: #6d219b;
$custom-light: #9c66b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d219b",
  "rgb": {
    "r": 109,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 277.377,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43018,
    "c": 0.18619,
    "h": 308.7
  },
  "luminance": 0.06705
}

Semantic roles & 50–950 ramp

primary
#6D219B
secondary
#7FC058
accent
#E8407F
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D219B

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

Preview Lab → · Contrast checker → · Palette generator →

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