#6A2899#6A2899

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

Color values

HEX#6A2899
RGBrgb(106, 40, 153)
HSLhsl(275, 59%, 38%)
HSVhsv(275, 74%, 60%)
CMYKcmyk(30.7%, 73.9%, 0%, 40%)
CIE-LABlab(31.54, 49.04, -49.33)
CIE-LCHlch(31.54, 69.56, 314.83°)
OKLaboklab(43.17% 0.1059 -0.1401)
OKLCHoklch(43.17% 0.176 307.1)
XYZxyz(12.4512, 6.8818, 30.8032)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2899 #579928
analogous
#312899 #6A2899 #99288F
triadic
#6A2899 #996A28 #28996A
tetradic
#6A2899 #993128 #579928 #288F99
square
#6A2899 #993128 #579928 #288F99
split-complementary
#6A2899 #8F9928 #289931
monochromatic
#270F38 #481B68 #6A2899 #8C35CA #A765D7

Accessibility & contrast

On white

8.84
#6A2899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6A2899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2899
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2899#FFFFFF#000000##FFFFFF
##6A28991.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a2899;
/* rgb */ color: rgb(106, 40, 153);
/* oklch */ color: oklch(43.2% 0.176 307.1);
Tailwind
colors: {
  custom: {
    50: '#9968b8',
    500: '#6a2899',
    950: '#000000',
  },
}
SCSS
$custom: #6a2899;
$custom-light: #9968b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2899",
  "rgb": {
    "r": 106,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 275.044,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43167,
    "c": 0.17561,
    "h": 307.1
  },
  "luminance": 0.06882
}

Semantic roles & 50–950 ramp

primary
#6A2899
secondary
#87BD60
accent
#E24687
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6A2899

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

Preview Lab → · Contrast checker → · Palette generator →

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