#6A219C#6A219C

#6A219C is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.186 H 306.9°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#6A219C
RGBrgb(106, 33, 156)
HSLhsl(276, 65%, 37%)
HSVhsv(276, 79%, 61%)
CMYKcmyk(32.1%, 78.8%, 0%, 38.8%)
CIE-LABlab(30.77, 52.61, -52.42)
CIE-LCHlch(30.77, 74.26, 315.11°)
OKLaboklab(42.7% 0.1118 -0.1491)
OKLCHoklch(42.7% 0.186 306.9)
XYZxyz(12.4872, 6.5523, 32.0529)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A219C #539C21
analogous
#2D219C #6A219C #9C2190
triadic
#6A219C #9C6A21 #219C6A
tetradic
#6A219C #9C2D21 #539C21 #21909C
square
#6A219C #9C2D21 #539C21 #21909C
split-complementary
#6A219C #909C21 #219C2D
monochromatic
#250C37 #481669 #6A219C #8C2CCF #A85BDC

Accessibility & contrast

On white

9.09
#6A219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6A219C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A219C
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A219C#FFFFFF#000000##FFFFFF
##6A219C1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#00499A
Tritanopia (blue-blind)
#61405E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6a219c;
/* rgb */ color: rgb(106, 33, 156);
/* oklch */ color: oklch(42.7% 0.186 306.9);
Tailwind
colors: {
  custom: {
    50: '#9a65ba',
    500: '#6a219c',
    950: '#000000',
  },
}
SCSS
$custom: #6a219c;
$custom-light: #9a65ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6a219c",
  "rgb": {
    "r": 106,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 275.61,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42697,
    "c": 0.18637,
    "h": 306.9
  },
  "luminance": 0.06552
}

Semantic roles & 50–950 ramp

primary
#6A219C
secondary
#83C158
accent
#E84084
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A219C

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

Preview Lab → · Contrast checker → · Palette generator →

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