#6D2D9D#6D2D9D

#6D2D9D is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.4% C 0.174 H 306.7°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#6D2D9D
RGBrgb(109, 45, 157)
HSLhsl(274, 55%, 40%)
HSVhsv(274, 71%, 62%)
CMYKcmyk(30.6%, 71.3%, 0%, 38.4%)
CIE-LABlab(33.05, 48.33, -49.29)
CIE-LCHlch(33.05, 69.03, 314.44°)
OKLaboklab(44.43% 0.1043 -0.1399)
OKLCHoklch(44.43% 0.174 306.7)
XYZxyz(13.3296, 7.5624, 32.6492)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2D9D #5D9D2D
analogous
#352D9D #6D2D9D #9D2D95
triadic
#6D2D9D #9D6D2D #2D9D6D
tetradic
#6D2D9D #9D352D #5D9D2D #2D959D
square
#6D2D9D #9D352D #5D9D2D #2D959D
split-complementary
#6D2D9D #959D2D #2D9D35
monochromatic
#2B123E #4C1F6D #6D2D9D #8D3FC8 #AA6FD6

Accessibility & contrast

On white

8.36
#6D2D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6D2D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2D9D
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2D9D#FFFFFF#000000##FFFFFF
##6D2D9D1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#064E9B
Tritanopia (blue-blind)
#654762
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6d2d9d;
/* rgb */ color: rgb(109, 45, 157);
/* oklch */ color: oklch(44.4% 0.174 306.7);
Tailwind
colors: {
  custom: {
    50: '#9b6bbb',
    500: '#6d2d9d',
    950: '#000000',
  },
}
SCSS
$custom: #6d2d9d;
$custom-light: #9b6bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2d9d",
  "rgb": {
    "r": 109,
    "g": 45,
    "b": 157
  },
  "hsl": {
    "h": 274.286,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44429,
    "c": 0.17445,
    "h": 306.7
  },
  "luminance": 0.07562
}

Semantic roles & 50–950 ramp

primary
#6D2D9D
secondary
#8DBD69
accent
#DF4989
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6D2D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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