#6A2192#6A2192

#6A2192 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.177 H 310.2°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#6A2192
RGBrgb(106, 33, 146)
HSLhsl(279, 63%, 35%)
HSVhsv(279, 77%, 57%)
CMYKcmyk(27.4%, 77.4%, 0%, 42.7%)
CIE-LABlab(29.98, 50.36, -47.57)
CIE-LCHlch(29.98, 69.27, 316.63°)
OKLaboklab(41.9% 0.114 -0.1348)
OKLCHoklch(41.9% 0.177 310.2)
XYZxyz(11.6750, 6.2275, 27.7756)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2192 #499221
analogous
#322192 #6A2192 #922181
triadic
#6A2192 #926A21 #21926A
tetradic
#6A2192 #923221 #499221 #218192
square
#6A2192 #923221 #499221 #218192
split-complementary
#6A2192 #819221 #219232
monochromatic
#220A2E #461660 #6A2192 #8E2CC4 #AA55D9

Accessibility & contrast

On white

9.35
#6A2192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6A2192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2192
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2192#FFFFFF#000000##FFFFFF
##6A21921.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#024890
Tritanopia (blue-blind)
#643C58
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6a2192;
/* rgb */ color: rgb(106, 33, 146);
/* oklch */ color: oklch(41.9% 0.177 310.2);
Tailwind
colors: {
  custom: {
    50: '#9965b3',
    500: '#6a2192',
    950: '#000000',
  },
}
SCSS
$custom: #6a2192;
$custom-light: #9965b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2192",
  "rgb": {
    "r": 106,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 278.761,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41899,
    "c": 0.17659,
    "h": 310.2
  },
  "luminance": 0.06227
}

Semantic roles & 50–950 ramp

primary
#6A2192
secondary
#78BC53
accent
#E6427C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A2192

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

Preview Lab → · Contrast checker → · Palette generator →

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