#6A219D#6A219D

#6A219D is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.187 H 306.6°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#6A219D
RGBrgb(106, 33, 157)
HSLhsl(275, 65%, 37%)
HSVhsv(275, 79%, 62%)
CMYKcmyk(32.5%, 79%, 0%, 38.4%)
CIE-LABlab(30.85, 52.84, -52.89)
CIE-LCHlch(30.85, 74.76, 314.97°)
OKLaboklab(42.78% 0.1116 -0.1505)
OKLCHoklch(42.78% 0.187 306.6)
XYZxyz(12.5722, 6.5863, 32.5007)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A219D #549D21
analogous
#2C219D #6A219D #9D2192
triadic
#6A219D #9D6A21 #219D6A
tetradic
#6A219D #9D2C21 #549D21 #21929D
square
#6A219D #9D2C21 #549D21 #21929D
split-complementary
#6A219D #929D21 #219D2C
monochromatic
#260C38 #48166A #6A219D #8C2CD0 #A85CDD

Accessibility & contrast

On white

9.06
#6A219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6A219D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A219D
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A219D#FFFFFF#000000##FFFFFF
##6A219D1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#61415F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6a219d;
/* rgb */ color: rgb(106, 33, 157);
/* oklch */ color: oklch(42.8% 0.187 306.6);
Tailwind
colors: {
  custom: {
    50: '#9a65bb',
    500: '#6a219d',
    950: '#000000',
  },
}
SCSS
$custom: #6a219d;
$custom-light: #9a65bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a219d",
  "rgb": {
    "r": 106,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 275.323,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42779,
    "c": 0.18735,
    "h": 306.6
  },
  "luminance": 0.06586
}

Semantic roles & 50–950 ramp

primary
#6A219D
secondary
#84C159
accent
#E84085
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A219D

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

Preview Lab → · Contrast checker → · Palette generator →

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