#6B2192#6B2192

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

Color values

HEX#6B2192
RGBrgb(107, 33, 146)
HSLhsl(279, 63%, 35%)
HSVhsv(279, 77%, 57%)
CMYKcmyk(26.7%, 77.4%, 0%, 42.7%)
CIE-LABlab(30.13, 50.56, -47.32)
CIE-LCHlch(30.13, 69.24, 316.90°)
OKLaboklab(42.04% 0.1154 -0.1341)
OKLCHoklch(42.04% 0.177 310.7)
XYZxyz(11.7946, 6.2891, 27.7812)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2192 #489221
analogous
#332192 #6B2192 #922180
triadic
#6B2192 #926B21 #21926B
tetradic
#6B2192 #923321 #489221 #218092
square
#6B2192 #923321 #489221 #218092
split-complementary
#6B2192 #809221 #219233
monochromatic
#220A2E #461660 #6B2192 #902CC4 #AB55D9

Accessibility & contrast

On white

9.30
#6B2192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6B2192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2192
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2192#FFFFFF#000000##FFFFFF
##6B21921.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#054890
Tritanopia (blue-blind)
#663C58
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6b2192;
/* rgb */ color: rgb(107, 33, 146);
/* oklch */ color: oklch(42.0% 0.177 310.7);
Tailwind
colors: {
  custom: {
    50: '#9a65b3',
    500: '#6b2192',
    950: '#000000',
  },
}
SCSS
$custom: #6b2192;
$custom-light: #9a65b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2192",
  "rgb": {
    "r": 107,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 279.292,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42037,
    "c": 0.1769,
    "h": 310.7
  },
  "luminance": 0.06289
}

Semantic roles & 50–950 ramp

primary
#6B2192
secondary
#77BC53
accent
#E6427A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B2192

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

Preview Lab → · Contrast checker → · Palette generator →

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