#6D2A97#6D2A97

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

Color values

HEX#6D2A97
RGBrgb(109, 42, 151)
HSLhsl(277, 56%, 38%)
HSVhsv(277, 72%, 59%)
CMYKcmyk(27.8%, 72.2%, 0%, 40.8%)
CIE-LABlab(32.13, 48.30, -47.14)
CIE-LCHlch(32.13, 67.49, 315.70°)
OKLaboklab(43.63% 0.1083 -0.1335)
OKLCHoklch(43.63% 0.172 309.1)
XYZxyz(12.7194, 7.1417, 29.9806)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2A97 #54972A
analogous
#372A97 #6D2A97 #972A8A
triadic
#6D2A97 #976D2A #2A976D
tetradic
#6D2A97 #97372A #54972A #2A8A97
square
#6D2A97 #97372A #54972A #2A8A97
split-complementary
#6D2A97 #8A972A #2A9737
monochromatic
#280F37 #4A1D67 #6D2A97 #9037C7 #AA67D5

Accessibility & contrast

On white

8.65
#6D2A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6D2A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2A97
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2A97#FFFFFF#000000##FFFFFF
##6D2A971.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#114C95
Tritanopia (blue-blind)
#67425E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6d2a97;
/* rgb */ color: rgb(109, 42, 151);
/* oklch */ color: oklch(43.6% 0.172 309.1);
Tailwind
colors: {
  custom: {
    50: '#9b6ab6',
    500: '#6d2a97',
    950: '#000000',
  },
}
SCSS
$custom: #6d2a97;
$custom-light: #9b6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2a97",
  "rgb": {
    "r": 109,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 276.881,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4363,
    "c": 0.17195,
    "h": 309.1
  },
  "luminance": 0.07142
}

Semantic roles & 50–950 ramp

primary
#6D2A97
secondary
#84BB62
accent
#E04883
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6D2A97

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

Preview Lab → · Contrast checker → · Palette generator →

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