#6A219F#6A219F

#6A219F is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.189 H 305.9°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#6A219F
RGBrgb(106, 33, 159)
HSLhsl(275, 66%, 38%)
HSVhsv(275, 79%, 62%)
CMYKcmyk(33.3%, 79.2%, 0%, 37.6%)
CIE-LABlab(31.01, 53.29, -53.84)
CIE-LCHlch(31.01, 75.76, 314.70°)
OKLaboklab(42.94% 0.1111 -0.1533)
OKLCHoklch(42.94% 0.189 305.9)
XYZxyz(12.7443, 6.6552, 33.4074)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A219F #569F21
analogous
#2B219F #6A219F #9F2195
triadic
#6A219F #9F6A21 #219F6A
tetradic
#6A219F #9F2B21 #569F21 #21959F
square
#6A219F #9F2B21 #569F21 #21959F
split-complementary
#6A219F #959F21 #219F2B
monochromatic
#260C3A #48166C #6A219F #8C2CD2 #A75DDD

Accessibility & contrast

On white

9.01
#6A219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6A219F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A219F
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A219F#FFFFFF#000000##FFFFFF
##6A219F1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#604260
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6a219f;
/* rgb */ color: rgb(106, 33, 159);
/* oklch */ color: oklch(42.9% 0.189 305.9);
Tailwind
colors: {
  custom: {
    50: '#9a65bc',
    500: '#6a219f',
    950: '#000000',
  },
}
SCSS
$custom: #6a219f;
$custom-light: #9a65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a219f",
  "rgb": {
    "r": 106,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 274.762,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42944,
    "c": 0.18931,
    "h": 305.9
  },
  "luminance": 0.06655
}

Semantic roles & 50–950 ramp

primary
#6A219F
secondary
#86C25A
accent
#E93F86
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A219F

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

Preview Lab → · Contrast checker → · Palette generator →

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