#6A2199#6A2199

#6A2199 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.183 H 307.8°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#6A2199
RGBrgb(106, 33, 153)
HSLhsl(277, 65%, 36%)
HSVhsv(277, 78%, 60%)
CMYKcmyk(30.7%, 78.4%, 0%, 40%)
CIE-LABlab(30.53, 51.93, -50.98)
CIE-LCHlch(30.53, 72.77, 315.53°)
OKLaboklab(42.45% 0.1125 -0.1449)
OKLCHoklch(42.45% 0.183 307.8)
XYZxyz(12.2363, 6.4520, 30.7316)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2199 #509921
analogous
#2E2199 #6A2199 #99218C
triadic
#6A2199 #996A21 #21996A
tetradic
#6A2199 #992E21 #509921 #218C99
square
#6A2199 #992E21 #509921 #218C99
split-complementary
#6A2199 #8C9921 #21992E
monochromatic
#240B34 #471667 #6A2199 #8D2CCB #A859DB

Accessibility & contrast

On white

9.17
#6A2199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6A2199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2199
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2199#FFFFFF#000000##FFFFFF
##6A21991.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004897
Tritanopia (blue-blind)
#623F5C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6a2199;
/* rgb */ color: rgb(106, 33, 153);
/* oklch */ color: oklch(42.5% 0.183 307.8);
Tailwind
colors: {
  custom: {
    50: '#9965b8',
    500: '#6a2199',
    950: '#000000',
  },
}
SCSS
$custom: #6a2199;
$custom-light: #9965b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2199",
  "rgb": {
    "r": 106,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 276.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42454,
    "c": 0.18343,
    "h": 307.8
  },
  "luminance": 0.06452
}

Semantic roles & 50–950 ramp

primary
#6A2199
secondary
#80BF56
accent
#E84082
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A2199

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

Preview Lab → · Contrast checker → · Palette generator →

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