#6A2193#6A2193

#6A2193 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.178 H 309.9°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#6A2193
RGBrgb(106, 33, 147)
HSLhsl(278, 63%, 35%)
HSVhsv(278, 78%, 58%)
CMYKcmyk(27.9%, 77.6%, 0%, 42.4%)
CIE-LABlab(30.06, 50.58, -48.06)
CIE-LCHlch(30.06, 69.77, 316.47°)
OKLaboklab(41.98% 0.1138 -0.1363)
OKLCHoklch(41.98% 0.178 309.9)
XYZxyz(11.7531, 6.2587, 28.1870)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2193 #4A9321
analogous
#312193 #6A2193 #932183
triadic
#6A2193 #936A21 #21936A
tetradic
#6A2193 #933121 #4A9321 #218393
square
#6A2193 #933121 #4A9321 #218393
split-complementary
#6A2193 #839321 #219331
monochromatic
#220B2F #461661 #6A2193 #8E2CC5 #AA55D9

Accessibility & contrast

On white

9.33
#6A2193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A2193
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2193#FFFFFF#000000##FFFFFF
##6A21931.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004496
Deuteranopia (green-blind)
#004891
Tritanopia (blue-blind)
#643C59
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6a2193;
/* rgb */ color: rgb(106, 33, 147);
/* oklch */ color: oklch(42.0% 0.178 309.9);
Tailwind
colors: {
  custom: {
    50: '#9965b3',
    500: '#6a2193',
    950: '#000000',
  },
}
SCSS
$custom: #6a2193;
$custom-light: #9965b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2193",
  "rgb": {
    "r": 106,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 278.421,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41977,
    "c": 0.17757,
    "h": 309.9
  },
  "luminance": 0.06258
}

Semantic roles & 50–950 ramp

primary
#6A2193
secondary
#79BD53
accent
#E6417D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A2193

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

Preview Lab → · Contrast checker → · Palette generator →

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