#6A2091#6A2091

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

Color values

HEX#6A2091
RGBrgb(106, 32, 145)
HSLhsl(279, 64%, 35%)
HSVhsv(279, 78%, 57%)
CMYKcmyk(26.9%, 77.9%, 0%, 43.1%)
CIE-LABlab(29.77, 50.53, -47.30)
CIE-LCHlch(29.77, 69.21, 316.89°)
OKLaboklab(41.73% 0.1151 -0.134)
OKLCHoklch(41.73% 0.177 310.7)
XYZxyz(11.5702, 6.1418, 27.3586)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2091 #479120
analogous
#312091 #6A2091 #912080
triadic
#6A2091 #916A20 #20916A
tetradic
#6A2091 #913120 #479120 #208091
square
#6A2091 #913120 #479120 #208091
split-complementary
#6A2091 #809120 #209131
monochromatic
#210A2D #45155F #6A2091 #8F2BC3 #AB52D9

Accessibility & contrast

On white

9.42
#6A2091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A2091
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2091#FFFFFF#000000##FFFFFF
##6A20911.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a2091;
/* rgb */ color: rgb(106, 32, 145);
/* oklch */ color: oklch(41.7% 0.177 310.7);
Tailwind
colors: {
  custom: {
    50: '#9964b2',
    500: '#6a2091',
    950: '#000000',
  },
}
SCSS
$custom: #6a2091;
$custom-light: #9964b2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2091",
  "rgb": {
    "r": 106,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 279.292,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41725,
    "c": 0.1767,
    "h": 310.7
  },
  "luminance": 0.06142
}

Semantic roles & 50–950 ramp

primary
#6A2091
secondary
#76BC51
accent
#E7417A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A2091

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

Preview Lab → · Contrast checker → · Palette generator →

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