#6D2D96#6D2D96

#6D2D96 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.9% C 0.167 H 309.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#6D2D96
RGBrgb(109, 45, 150)
HSLhsl(277, 54%, 38%)
HSVhsv(277, 70%, 59%)
CMYKcmyk(27.3%, 70%, 0%, 41.2%)
CIE-LABlab(32.55, 46.69, -45.85)
CIE-LCHlch(32.55, 65.44, 315.52°)
OKLaboklab(43.91% 0.1052 -0.1298)
OKLCHoklch(43.91% 0.167 309)
XYZxyz(12.7490, 7.3302, 29.5915)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2D96 #56962D
analogous
#382D96 #6D2D96 #962D8A
triadic
#6D2D96 #966D2D #2D966D
tetradic
#6D2D96 #96382D #56962D #2D8A96
square
#6D2D96 #96382D #56962D #2D8A96
split-complementary
#6D2D96 #8A962D #2D9638
monochromatic
#291138 #4B1F67 #6D2D96 #8F3CC4 #AA6BD3

Accessibility & contrast

On white

8.52
#6D2D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D2D96
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2D96#FFFFFF#000000##FFFFFF
##6D2D961.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#184D94
Tritanopia (blue-blind)
#67445E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6d2d96;
/* rgb */ color: rgb(109, 45, 150);
/* oklch */ color: oklch(43.9% 0.167 309.0);
Tailwind
colors: {
  custom: {
    50: '#9b6bb5',
    500: '#6d2d96',
    950: '#000000',
  },
}
SCSS
$custom: #6d2d96;
$custom-light: #9b6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2d96",
  "rgb": {
    "r": 109,
    "g": 45,
    "b": 150
  },
  "hsl": {
    "h": 276.571,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43906,
    "c": 0.16703,
    "h": 309
  },
  "luminance": 0.0733
}

Semantic roles & 50–950 ramp

primary
#6D2D96
secondary
#86B965
accent
#DD4B84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6D2D96

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

Preview Lab → · Contrast checker → · Palette generator →

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