#6D2A99#6D2A99

#6D2A99 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.8% C 0.174 H 308.4°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#6D2A99
RGBrgb(109, 42, 153)
HSLhsl(276, 57%, 38%)
HSVhsv(276, 73%, 60%)
CMYKcmyk(28.8%, 72.5%, 0%, 40%)
CIE-LABlab(32.27, 48.76, -48.12)
CIE-LCHlch(32.27, 68.51, 315.38°)
OKLaboklab(43.78% 0.108 -0.1364)
OKLCHoklch(43.78% 0.174 308.4)
XYZxyz(12.8832, 7.2073, 30.8433)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2A99 #56992A
analogous
#352A99 #6D2A99 #992A8D
triadic
#6D2A99 #996D2A #2A996D
tetradic
#6D2A99 #99352A #56992A #2A8D99
square
#6D2A99 #99352A #56992A #2A8D99
split-complementary
#6D2A99 #8D992A #2A9935
monochromatic
#291039 #4B1D69 #6D2A99 #8F38C8 #AA68D6

Accessibility & contrast

On white

8.60
#6D2A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6D2A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2A99
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2A99#FFFFFF#000000##FFFFFF
##6D2A991.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#0B4D97
Tritanopia (blue-blind)
#66435F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6d2a99;
/* rgb */ color: rgb(109, 42, 153);
/* oklch */ color: oklch(43.8% 0.174 308.4);
Tailwind
colors: {
  custom: {
    50: '#9b6ab8',
    500: '#6d2a99',
    950: '#000000',
  },
}
SCSS
$custom: #6d2a99;
$custom-light: #9b6ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2a99",
  "rgb": {
    "r": 109,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 276.216,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43781,
    "c": 0.17401,
    "h": 308.4
  },
  "luminance": 0.07207
}

Semantic roles & 50–950 ramp

primary
#6D2A99
secondary
#86BC63
accent
#E04884
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6D2A99

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

Preview Lab → · Contrast checker → · Palette generator →

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