#6A2D99#6A2D99

#6A2D99 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.7% C 0.169 H 306.4°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#6A2D99
RGBrgb(106, 45, 153)
HSLhsl(274, 55%, 39%)
HSVhsv(274, 71%, 60%)
CMYKcmyk(30.7%, 70.6%, 0%, 40%)
CIE-LABlab(32.35, 46.75, -48.02)
CIE-LCHlch(32.35, 67.02, 314.23°)
OKLaboklab(43.75% 0.1006 -0.1362)
OKLCHoklch(43.75% 0.169 306.4)
XYZxyz(12.6308, 7.2410, 30.8631)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2D99 #5C992D
analogous
#342D99 #6A2D99 #992D92
triadic
#6A2D99 #996A2D #2D996A
tetradic
#6A2D99 #99342D #5C992D #2D9299
square
#6A2D99 #99342D #5C992D #2D9299
split-complementary
#6A2D99 #92992D #2D9934
monochromatic
#28113A #491F6A #6A2D99 #8A3DC6 #A76CD4

Accessibility & contrast

On white

8.58
#6A2D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6A2D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2D99
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2D99#FFFFFF#000000##FFFFFF
##6A2D991.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#0A4C97
Tritanopia (blue-blind)
#62455F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6a2d99;
/* rgb */ color: rgb(106, 45, 153);
/* oklch */ color: oklch(43.7% 0.169 306.4);
Tailwind
colors: {
  custom: {
    50: '#996bb8',
    500: '#6a2d99',
    950: '#000000',
  },
}
SCSS
$custom: #6a2d99;
$custom-light: #996bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2d99",
  "rgb": {
    "r": 106,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 273.889,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43745,
    "c": 0.16938,
    "h": 306.4
  },
  "luminance": 0.07241
}

Semantic roles & 50–950 ramp

primary
#6A2D99
secondary
#8BBB67
accent
#DE4A8A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6A2D99

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

Preview Lab → · Contrast checker → · Palette generator →

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