#6A218F#6A218F

#6A218F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.174 H 311.3°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#6A218F
RGBrgb(106, 33, 143)
HSLhsl(280, 63%, 35%)
HSVhsv(280, 77%, 56%)
CMYKcmyk(25.9%, 76.9%, 0%, 43.9%)
CIE-LABlab(29.75, 49.70, -46.09)
CIE-LCHlch(29.75, 67.78, 317.16°)
OKLaboklab(41.67% 0.1146 -0.1305)
OKLCHoklch(41.67% 0.174 311.3)
XYZxyz(11.4447, 6.1353, 26.5626)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A218F #468F21
analogous
#33218F #6A218F #8F217D
triadic
#6A218F #8F6A21 #218F6A
tetradic
#6A218F #8F3321 #468F21 #217D8F
square
#6A218F #8F3321 #468F21 #217D8F
split-complementary
#6A218F #7D8F21 #218F33
monochromatic
#200A2C #45165D #6A218F #8F2CC1 #AB53D7

Accessibility & contrast

On white

9.43
#6A218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6A218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A218F
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A218F#FFFFFF#000000##FFFFFF
##6A218F1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#0B478D
Tritanopia (blue-blind)
#653B57
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6a218f;
/* rgb */ color: rgb(106, 33, 143);
/* oklch */ color: oklch(41.7% 0.174 311.3);
Tailwind
colors: {
  custom: {
    50: '#9965b0',
    500: '#6a218f',
    950: '#000000',
  },
}
SCSS
$custom: #6a218f;
$custom-light: #9965b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a218f",
  "rgb": {
    "r": 106,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 279.818,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41666,
    "c": 0.17367,
    "h": 311.3
  },
  "luminance": 0.06135
}

Semantic roles & 50–950 ramp

primary
#6A218F
secondary
#75BB51
accent
#E64279
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A218F

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

Preview Lab → · Contrast checker → · Palette generator →

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