#6B2191#6B2191

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

Color values

HEX#6B2191
RGBrgb(107, 33, 145)
HSLhsl(280, 63%, 35%)
HSVhsv(280, 77%, 57%)
CMYKcmyk(26.2%, 77.2%, 0%, 43.1%)
CIE-LABlab(30.05, 50.34, -46.82)
CIE-LCHlch(30.05, 68.75, 317.07°)
OKLaboklab(41.96% 0.1156 -0.1326)
OKLCHoklch(41.96% 0.176 311.1)
XYZxyz(11.7171, 6.2581, 27.3733)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2191 #479121
analogous
#332191 #6B2191 #91217F
triadic
#6B2191 #916B21 #21916B
tetradic
#6B2191 #913321 #479121 #217F91
square
#6B2191 #913321 #479121 #217F91
split-complementary
#6B2191 #7F9121 #219133
monochromatic
#210A2D #46165F #6B2191 #902CC3 #AB54D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B2191#FFFFFF#000000##FFFFFF
##6B21911.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)
#004394
Deuteranopia (green-blind)
#08488F
Tritanopia (blue-blind)
#663B58
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6b2191;
/* rgb */ color: rgb(107, 33, 145);
/* oklch */ color: oklch(42.0% 0.176 311.1);
Tailwind
colors: {
  custom: {
    50: '#9a65b2',
    500: '#6b2191',
    950: '#000000',
  },
}
SCSS
$custom: #6b2191;
$custom-light: #9a65b2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2191",
  "rgb": {
    "r": 107,
    "g": 33,
    "b": 145
  },
  "hsl": {
    "h": 279.643,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41959,
    "c": 0.17593,
    "h": 311.1
  },
  "luminance": 0.06258
}

Semantic roles & 50–950 ramp

primary
#6B2191
secondary
#76BC52
accent
#E6427A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B2191

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

Preview Lab → · Contrast checker → · Palette generator →

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