#6B2196#6B2196

#6B2196 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.181 H 309.3°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#6B2196
RGBrgb(107, 33, 150)
HSLhsl(278, 64%, 36%)
HSVhsv(278, 78%, 59%)
CMYKcmyk(28.7%, 78%, 0%, 41.2%)
CIE-LABlab(30.44, 51.44, -49.27)
CIE-LCHlch(30.44, 71.23, 316.23°)
OKLaboklab(42.35% 0.1146 -0.1398)
OKLCHoklch(42.35% 0.181 309.3)
XYZxyz(12.1112, 6.4158, 29.4486)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2196 #4C9621
analogous
#312196 #6B2196 #962186
triadic
#6B2196 #966B21 #21966B
tetradic
#6B2196 #963121 #4C9621 #218696
square
#6B2196 #963121 #4C9621 #218696
split-complementary
#6B2196 #869621 #219631
monochromatic
#230B32 #471664 #6B2196 #8F2CC8 #AA57DA

Accessibility & contrast

On white

9.20
#6B2196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6B2196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2196
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2196#FFFFFF#000000##FFFFFF
##6B21961.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#653E5B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6b2196;
/* rgb */ color: rgb(107, 33, 150);
/* oklch */ color: oklch(42.4% 0.181 309.3);
Tailwind
colors: {
  custom: {
    50: '#9a65b6',
    500: '#6b2196',
    950: '#000000',
  },
}
SCSS
$custom: #6b2196;
$custom-light: #9a65b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2196",
  "rgb": {
    "r": 107,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 277.949,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4235,
    "c": 0.18079,
    "h": 309.3
  },
  "luminance": 0.06416
}

Semantic roles & 50–950 ramp

primary
#6B2196
secondary
#7BBE55
accent
#E7417E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B2196

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

Preview Lab → · Contrast checker → · Palette generator →

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