#6B2291#6B2291

#6B2291 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.175 H 311.0°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#6B2291
RGBrgb(107, 34, 145)
HSLhsl(279, 62%, 35%)
HSVhsv(279, 77%, 57%)
CMYKcmyk(26.2%, 76.6%, 0%, 43.1%)
CIE-LABlab(30.19, 49.94, -46.60)
CIE-LCHlch(30.19, 68.30, 316.98°)
OKLaboklab(42.06% 0.1147 -0.132)
OKLCHoklch(42.06% 0.175 311)
XYZxyz(11.7453, 6.3145, 27.3827)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2291 #489122
analogous
#332291 #6B2291 #912280
triadic
#6B2291 #916B22 #22916B
tetradic
#6B2291 #913322 #489122 #228091
square
#6B2291 #913322 #489122 #228091
split-complementary
#6B2291 #809122 #229133
monochromatic
#220B2E #46165F #6B2291 #902EC3 #AB56D7

Accessibility & contrast

On white

9.28
#6B2291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B2291
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2291#FFFFFF#000000##FFFFFF
##6B22911.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b2291;
/* rgb */ color: rgb(107, 34, 145);
/* oklch */ color: oklch(42.1% 0.175 311.0);
Tailwind
colors: {
  custom: {
    50: '#9a65b2',
    500: '#6b2291',
    950: '#000000',
  },
}
SCSS
$custom: #6b2291;
$custom-light: #9a65b2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2291",
  "rgb": {
    "r": 107,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 279.459,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42056,
    "c": 0.17482,
    "h": 311
  },
  "luminance": 0.06314
}

Semantic roles & 50–950 ramp

primary
#6B2291
secondary
#77BB53
accent
#E5437A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B2291

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

Preview Lab → · Contrast checker → · Palette generator →

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