#6A219A#6A219A

#6A219A is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.184 H 307.5°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#6A219A
RGBrgb(106, 33, 154)
HSLhsl(276, 65%, 37%)
HSVhsv(276, 79%, 60%)
CMYKcmyk(31.2%, 78.6%, 0%, 39.6%)
CIE-LABlab(30.60, 52.15, -51.46)
CIE-LCHlch(30.60, 73.27, 315.39°)
OKLaboklab(42.54% 0.1123 -0.1463)
OKLCHoklch(42.54% 0.184 307.5)
XYZxyz(12.3192, 6.4851, 31.1684)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A219A #519A21
analogous
#2D219A #6A219A #9A218E
triadic
#6A219A #9A6A21 #219A6A
tetradic
#6A219A #9A2D21 #519A21 #218E9A
square
#6A219A #9A2D21 #519A21 #218E9A
split-complementary
#6A219A #8E9A21 #219A2D
monochromatic
#250B35 #471668 #6A219A #8D2CCC #A85ADC

Accessibility & contrast

On white

9.14
#6A219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6A219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A219A
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A219A#FFFFFF#000000##FFFFFF
##6A219A1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#004998
Tritanopia (blue-blind)
#62405D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6a219a;
/* rgb */ color: rgb(106, 33, 154);
/* oklch */ color: oklch(42.5% 0.184 307.5);
Tailwind
colors: {
  custom: {
    50: '#9a65b9',
    500: '#6a219a',
    950: '#000000',
  },
}
SCSS
$custom: #6a219a;
$custom-light: #9a65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a219a",
  "rgb": {
    "r": 106,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 276.198,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42535,
    "c": 0.18442,
    "h": 307.5
  },
  "luminance": 0.06485
}

Semantic roles & 50–950 ramp

primary
#6A219A
secondary
#81C057
accent
#E84083
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A219A

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

Preview Lab → · Contrast checker → · Palette generator →

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