#6D2D99#6D2D99

#6D2D99 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.1% C 0.170 H 308.0°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#6D2D99
RGBrgb(109, 45, 153)
HSLhsl(276, 55%, 39%)
HSVhsv(276, 71%, 60%)
CMYKcmyk(28.8%, 70.6%, 0%, 40%)
CIE-LABlab(32.76, 47.39, -47.33)
CIE-LCHlch(32.76, 66.98, 315.04°)
OKLaboklab(44.13% 0.1048 -0.1341)
OKLCHoklch(44.13% 0.17 308)
XYZxyz(12.9936, 7.4281, 30.8801)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2D99 #59992D
analogous
#372D99 #6D2D99 #992D8F
triadic
#6D2D99 #996D2D #2D996D
tetradic
#6D2D99 #99372D #59992D #2D8F99
square
#6D2D99 #99372D #59992D #2D8F99
split-complementary
#6D2D99 #8F992D #2D9937
monochromatic
#2A113A #4B1F6A #6D2D99 #8E3DC6 #AA6CD4

Accessibility & contrast

On white

8.45
#6D2D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6D2D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2D99
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2D99#FFFFFF#000000##FFFFFF
##6D2D991.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#124E97
Tritanopia (blue-blind)
#66455F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6d2d99;
/* rgb */ color: rgb(109, 45, 153);
/* oklch */ color: oklch(44.1% 0.170 308.0);
Tailwind
colors: {
  custom: {
    50: '#9b6bb8',
    500: '#6d2d99',
    950: '#000000',
  },
}
SCSS
$custom: #6d2d99;
$custom-light: #9b6bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2d99",
  "rgb": {
    "r": 109,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 275.556,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44128,
    "c": 0.17022,
    "h": 308
  },
  "luminance": 0.07428
}

Semantic roles & 50–950 ramp

primary
#6D2D99
secondary
#89BB67
accent
#DE4A86
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6D2D99

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

Preview Lab → · Contrast checker → · Palette generator →

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