#6A299A#6A299A

#6A299A is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.175 H 306.6°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#6A299A
RGBrgb(106, 41, 154)
HSLhsl(275, 58%, 38%)
HSVhsv(275, 73%, 60%)
CMYKcmyk(31.2%, 73.4%, 0%, 39.6%)
CIE-LABlab(31.77, 48.83, -49.57)
CIE-LCHlch(31.77, 69.58, 314.57°)
OKLaboklab(43.36% 0.1047 -0.1408)
OKLCHoklch(43.36% 0.175 306.6)
XYZxyz(12.5683, 6.9833, 31.2514)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A299A #599A29
analogous
#31299A #6A299A #9A2991
triadic
#6A299A #9A6A29 #299A6A
tetradic
#6A299A #9A3129 #599A29 #29919A
square
#6A299A #9A3129 #599A29 #29919A
split-complementary
#6A299A #919A29 #299A31
monochromatic
#270F39 #491C6A #6A299A #8B37CA #A767D7

Accessibility & contrast

On white

8.76
#6A299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6A299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A299A
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A299A#FFFFFF#000000##FFFFFF
##6A299A1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#62445F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6a299a;
/* rgb */ color: rgb(106, 41, 154);
/* oklch */ color: oklch(43.4% 0.175 306.6);
Tailwind
colors: {
  custom: {
    50: '#9969b9',
    500: '#6a299a',
    950: '#000000',
  },
}
SCSS
$custom: #6a299a;
$custom-light: #9969b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a299a",
  "rgb": {
    "r": 106,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 274.513,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43356,
    "c": 0.17545,
    "h": 306.6
  },
  "luminance": 0.06983
}

Semantic roles & 50–950 ramp

primary
#6A299A
secondary
#89BD62
accent
#E14788
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6A299A

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

Preview Lab → · Contrast checker → · Palette generator →

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