#6B2391#6B2391

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

Color values

HEX#6B2391
RGBrgb(107, 35, 145)
HSLhsl(279, 61%, 35%)
HSVhsv(279, 76%, 57%)
CMYKcmyk(26.2%, 75.9%, 0%, 43.1%)
CIE-LABlab(30.33, 49.54, -46.37)
CIE-LCHlch(30.33, 67.85, 316.89°)
OKLaboklab(42.16% 0.1137 -0.1313)
OKLCHoklch(42.16% 0.174 310.9)
XYZxyz(11.7743, 6.3725, 27.3923)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2391 #499123
analogous
#342391 #6B2391 #912380
triadic
#6B2391 #916B23 #23916B
tetradic
#6B2391 #913423 #499123 #238091
square
#6B2391 #913423 #499123 #238091
split-complementary
#6B2391 #809123 #239134
monochromatic
#220B2E #471760 #6B2391 #8F2FC2 #AB58D7

Accessibility & contrast

On white

9.23
#6B2391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B2391
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2391#FFFFFF#000000##FFFFFF
##6B23911.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#0D498F
Tritanopia (blue-blind)
#663C58
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6b2391;
/* rgb */ color: rgb(107, 35, 145);
/* oklch */ color: oklch(42.2% 0.174 310.9);
Tailwind
colors: {
  custom: {
    50: '#9966b2',
    500: '#6b2391',
    950: '#000000',
  },
}
SCSS
$custom: #6b2391;
$custom-light: #9966b2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2391",
  "rgb": {
    "r": 107,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 279.273,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42156,
    "c": 0.17368,
    "h": 310.9
  },
  "luminance": 0.06372
}

Semantic roles & 50–950 ramp

primary
#6B2391
secondary
#78BB55
accent
#E4447B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B2391

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

Preview Lab → · Contrast checker → · Palette generator →

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