#6B2899#6B2899

#6B2899 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.176 H 307.6°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#6B2899
RGBrgb(107, 40, 153)
HSLhsl(276, 59%, 38%)
HSVhsv(276, 74%, 60%)
CMYKcmyk(30.1%, 73.9%, 0%, 40%)
CIE-LABlab(31.68, 49.24, -49.10)
CIE-LCHlch(31.68, 69.54, 315.08°)
OKLaboklab(43.3% 0.1073 -0.1394)
OKLCHoklch(43.3% 0.176 307.6)
XYZxyz(12.5708, 6.9435, 30.8088)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2899 #569928
analogous
#322899 #6B2899 #99288E
triadic
#6B2899 #996B28 #28996B
tetradic
#6B2899 #993228 #569928 #288E99
square
#6B2899 #993228 #569928 #288E99
split-complementary
#6B2899 #8E9928 #289932
monochromatic
#270F38 #491B68 #6B2899 #8D35CA #A865D7

Accessibility & contrast

On white

8.79
#6B2899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6B2899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2899
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2899#FFFFFF#000000##FFFFFF
##6B28991.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#63425E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6b2899;
/* rgb */ color: rgb(107, 40, 153);
/* oklch */ color: oklch(43.3% 0.176 307.6);
Tailwind
colors: {
  custom: {
    50: '#9a68b8',
    500: '#6b2899',
    950: '#000000',
  },
}
SCSS
$custom: #6b2899;
$custom-light: #9a68b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2899",
  "rgb": {
    "r": 107,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 275.575,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43297,
    "c": 0.17588,
    "h": 307.6
  },
  "luminance": 0.06943
}

Semantic roles & 50–950 ramp

primary
#6B2899
secondary
#86BD60
accent
#E24685
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6B2899

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

Preview Lab → · Contrast checker → · Palette generator →

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