#6A2196#6A2196

#6A2196 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.180 H 308.8°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#6A2196
RGBrgb(106, 33, 150)
HSLhsl(277, 64%, 36%)
HSVhsv(277, 78%, 59%)
CMYKcmyk(29.3%, 78%, 0%, 41.2%)
CIE-LABlab(30.29, 51.25, -49.52)
CIE-LCHlch(30.29, 71.27, 315.98°)
OKLaboklab(42.21% 0.1132 -0.1406)
OKLCHoklch(42.21% 0.181 308.8)
XYZxyz(11.9916, 6.3541, 29.4430)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2196 #4D9621
analogous
#302196 #6A2196 #962187
triadic
#6A2196 #966A21 #21966A
tetradic
#6A2196 #963021 #4D9621 #218796
square
#6A2196 #963021 #4D9621 #218796
split-complementary
#6A2196 #879621 #219630
monochromatic
#230B32 #471664 #6A2196 #8D2CC8 #A957DA

Accessibility & contrast

On white

9.25
#6A2196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6A2196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2196
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2196#FFFFFF#000000##FFFFFF
##6A21961.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#633E5B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6a2196;
/* rgb */ color: rgb(106, 33, 150);
/* oklch */ color: oklch(42.2% 0.180 308.8);
Tailwind
colors: {
  custom: {
    50: '#9965b6',
    500: '#6a2196',
    950: '#000000',
  },
}
SCSS
$custom: #6a2196;
$custom-light: #9965b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2196",
  "rgb": {
    "r": 106,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 277.436,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42214,
    "c": 0.1805,
    "h": 308.8
  },
  "luminance": 0.06354
}

Semantic roles & 50–950 ramp

primary
#6A2196
secondary
#7CBE55
accent
#E7417F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A2196

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

Preview Lab → · Contrast checker → · Palette generator →

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