#6D2B97#6D2B97

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

Color values

HEX#6D2B97
RGBrgb(109, 43, 151)
HSLhsl(277, 56%, 38%)
HSVhsv(277, 72%, 59%)
CMYKcmyk(27.8%, 71.5%, 0%, 40.8%)
CIE-LABlab(32.29, 47.85, -46.88)
CIE-LCHlch(32.29, 66.98, 315.59°)
OKLaboklab(43.74% 0.1073 -0.1328)
OKLCHoklch(43.74% 0.171 308.9)
XYZxyz(12.7553, 7.2136, 29.9926)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2B97 #55972B
analogous
#372B97 #6D2B97 #972B8B
triadic
#6D2B97 #976D2B #2B976D
tetradic
#6D2B97 #97372B #55972B #2B8B97
square
#6D2B97 #97372B #55972B #2B8B97
split-complementary
#6D2B97 #8B972B #2B9737
monochromatic
#281038 #4B1D67 #6D2B97 #8F39C7 #AA68D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D2B97#FFFFFF#000000##FFFFFF
##6D2B971.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)
#00499A
Deuteranopia (green-blind)
#134D95
Tritanopia (blue-blind)
#67435E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6d2b97;
/* rgb */ color: rgb(109, 43, 151);
/* oklch */ color: oklch(43.7% 0.171 308.9);
Tailwind
colors: {
  custom: {
    50: '#9b6ab6',
    500: '#6d2b97',
    950: '#000000',
  },
}
SCSS
$custom: #6d2b97;
$custom-light: #9b6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2b97",
  "rgb": {
    "r": 109,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 276.667,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43744,
    "c": 0.17068,
    "h": 308.9
  },
  "luminance": 0.07213
}

Semantic roles & 50–950 ramp

primary
#6D2B97
secondary
#85BB63
accent
#DF4983
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6D2B97

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

Preview Lab → · Contrast checker → · Palette generator →

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