#6D2899#6D2899

#6D2899 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.176 H 308.6°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#6D2899
RGBrgb(109, 40, 153)
HSLhsl(277, 59%, 38%)
HSVhsv(277, 74%, 60%)
CMYKcmyk(28.8%, 73.9%, 0%, 40%)
CIE-LABlab(31.96, 49.64, -48.62)
CIE-LCHlch(31.96, 69.49, 315.60°)
OKLaboklab(43.56% 0.1101 -0.1379)
OKLCHoklch(43.56% 0.176 308.6)
XYZxyz(12.8141, 7.0689, 30.8202)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2899 #549928
analogous
#342899 #6D2899 #99288C
triadic
#6D2899 #996D28 #28996D
tetradic
#6D2899 #993428 #549928 #288C99
square
#6D2899 #993428 #549928 #288C99
split-complementary
#6D2899 #8C9928 #289934
monochromatic
#280F38 #4A1B68 #6D2899 #9035CA #AA65D7

Accessibility & contrast

On white

8.70
#6D2899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6D2899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2899
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2899#FFFFFF#000000##FFFFFF
##6D28991.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#064C97
Tritanopia (blue-blind)
#66425E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6d2899;
/* rgb */ color: rgb(109, 40, 153);
/* oklch */ color: oklch(43.6% 0.176 308.6);
Tailwind
colors: {
  custom: {
    50: '#9b69b8',
    500: '#6d2899',
    950: '#000000',
  },
}
SCSS
$custom: #6d2899;
$custom-light: #9b69b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2899",
  "rgb": {
    "r": 109,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 276.637,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4356,
    "c": 0.17645,
    "h": 308.6
  },
  "luminance": 0.07069
}

Semantic roles & 50–950 ramp

primary
#6D2899
secondary
#84BD60
accent
#E24683
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6D2899

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

Preview Lab → · Contrast checker → · Palette generator →

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