#6A2191#6A2191

#6A2191 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.176 H 310.6°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#6A2191
RGBrgb(106, 33, 145)
HSLhsl(279, 63%, 35%)
HSVhsv(279, 77%, 57%)
CMYKcmyk(26.9%, 77.2%, 0%, 43.1%)
CIE-LABlab(29.90, 50.14, -47.08)
CIE-LCHlch(29.90, 68.78, 316.81°)
OKLaboklab(41.82% 0.1142 -0.1334)
OKLCHoklch(41.82% 0.176 310.6)
XYZxyz(11.5976, 6.1965, 27.3677)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2191 #489121
analogous
#322191 #6A2191 #912180
triadic
#6A2191 #916A21 #21916A
tetradic
#6A2191 #913221 #489121 #218091
square
#6A2191 #913221 #489121 #218091
split-complementary
#6A2191 #809121 #219132
monochromatic
#210A2D #46165F #6A2191 #8E2CC3 #AA54D8

Accessibility & contrast

On white

9.38
#6A2191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6A2191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2191
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2191#FFFFFF#000000##FFFFFF
##6A21911.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#05488F
Tritanopia (blue-blind)
#653C58
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6a2191;
/* rgb */ color: rgb(106, 33, 145);
/* oklch */ color: oklch(41.8% 0.176 310.6);
Tailwind
colors: {
  custom: {
    50: '#9965b2',
    500: '#6a2191',
    950: '#000000',
  },
}
SCSS
$custom: #6a2191;
$custom-light: #9965b2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2191",
  "rgb": {
    "r": 106,
    "g": 33,
    "b": 145
  },
  "hsl": {
    "h": 279.107,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41821,
    "c": 0.17562,
    "h": 310.6
  },
  "luminance": 0.06196
}

Semantic roles & 50–950 ramp

primary
#6A2191
secondary
#77BC52
accent
#E6427B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A2191

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

Preview Lab → · Contrast checker → · Palette generator →

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