#6B2194#6B2194

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

Color values

HEX#6B2194
RGBrgb(107, 33, 148)
HSLhsl(279, 64%, 35%)
HSVhsv(279, 78%, 58%)
CMYKcmyk(27.7%, 77.7%, 0%, 42%)
CIE-LABlab(30.28, 51.00, -48.30)
CIE-LCHlch(30.28, 70.24, 316.56°)
OKLaboklab(42.19% 0.115 -0.137)
OKLCHoklch(42.19% 0.179 310)
XYZxyz(11.9515, 6.3519, 28.6077)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2194 #4A9421
analogous
#322194 #6B2194 #942183
triadic
#6B2194 #946B21 #21946B
tetradic
#6B2194 #943221 #4A9421 #218394
square
#6B2194 #943221 #4A9421 #218394
split-complementary
#6B2194 #839421 #219432
monochromatic
#230B30 #471662 #6B2194 #8F2CC6 #AB56D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B2194#FFFFFF#000000##FFFFFF
##6B21941.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)
#004497
Deuteranopia (green-blind)
#004892
Tritanopia (blue-blind)
#653D5A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6b2194;
/* rgb */ color: rgb(107, 33, 148);
/* oklch */ color: oklch(42.2% 0.179 310.0);
Tailwind
colors: {
  custom: {
    50: '#9a65b4',
    500: '#6b2194',
    950: '#000000',
  },
}
SCSS
$custom: #6b2194;
$custom-light: #9a65b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2194",
  "rgb": {
    "r": 107,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 278.609,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42192,
    "c": 0.17884,
    "h": 310
  },
  "luminance": 0.06352
}

Semantic roles & 50–950 ramp

primary
#6B2194
secondary
#79BD54
accent
#E7417C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B2194

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

Preview Lab → · Contrast checker → · Palette generator →

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