#6D2D97#6D2D97

#6D2D97 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.0% C 0.168 H 308.7°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#6D2D97
RGBrgb(109, 45, 151)
HSLhsl(276, 54%, 38%)
HSVhsv(276, 70%, 59%)
CMYKcmyk(27.8%, 70.2%, 0%, 40.8%)
CIE-LABlab(32.62, 46.92, -46.34)
CIE-LCHlch(32.62, 65.95, 315.36°)
OKLaboklab(43.98% 0.1051 -0.1312)
OKLCHoklch(43.98% 0.168 308.7)
XYZxyz(12.8298, 7.3626, 30.0174)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2D97 #57972D
analogous
#382D97 #6D2D97 #972D8C
triadic
#6D2D97 #976D2D #2D976D
tetradic
#6D2D97 #97382D #57972D #2D8C97
square
#6D2D97 #97382D #57972D #2D8C97
split-complementary
#6D2D97 #8C972D #2D9738
monochromatic
#291139 #4B1F68 #6D2D97 #8F3CC5 #AA6BD3

Accessibility & contrast

On white

8.49
#6D2D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6D2D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2D97
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2D97#FFFFFF#000000##FFFFFF
##6D2D971.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#164D95
Tritanopia (blue-blind)
#67445E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6d2d97;
/* rgb */ color: rgb(109, 45, 151);
/* oklch */ color: oklch(44.0% 0.168 308.7);
Tailwind
colors: {
  custom: {
    50: '#9b6bb6',
    500: '#6d2d97',
    950: '#000000',
  },
}
SCSS
$custom: #6d2d97;
$custom-light: #9b6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2d97",
  "rgb": {
    "r": 109,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 276.226,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4398,
    "c": 0.1681,
    "h": 308.7
  },
  "luminance": 0.07362
}

Semantic roles & 50–950 ramp

primary
#6D2D97
secondary
#87BA66
accent
#DD4A85
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6D2D97

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

Preview Lab → · Contrast checker → · Palette generator →

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