#6D2D9F#6D2D9F

#6D2D9F is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.6% C 0.177 H 306.1°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#6D2D9F
RGBrgb(109, 45, 159)
HSLhsl(274, 56%, 40%)
HSVhsv(274, 72%, 62%)
CMYKcmyk(31.4%, 71.7%, 0%, 37.6%)
CIE-LABlab(33.20, 48.81, -50.26)
CIE-LCHlch(33.20, 70.06, 314.16°)
OKLaboklab(44.58% 0.1039 -0.1427)
OKLCHoklch(44.58% 0.177 306.1)
XYZxyz(13.5017, 7.6313, 33.5559)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2D9F #5F9F2D
analogous
#342D9F #6D2D9F #9F2D98
triadic
#6D2D9F #9F6D2D #2D9F6D
tetradic
#6D2D9F #9F342D #5F9F2D #2D989F
square
#6D2D9F #9F342D #5F9F2D #2D989F
split-complementary
#6D2D9F #989F2D #2D9F34
monochromatic
#2C1240 #4C206F #6D2D9F #8D40C9 #A970D6

Accessibility & contrast

On white

8.31
#6D2D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6D2D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2D9F
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2D9F#FFFFFF#000000##FFFFFF
##6D2D9F1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#644763
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6d2d9f;
/* rgb */ color: rgb(109, 45, 159);
/* oklch */ color: oklch(44.6% 0.177 306.1);
Tailwind
colors: {
  custom: {
    50: '#9b6cbc',
    500: '#6d2d9f',
    950: '#000000',
  },
}
SCSS
$custom: #6d2d9f;
$custom-light: #9b6cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2d9f",
  "rgb": {
    "r": 109,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 273.684,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.44582,
    "c": 0.17657,
    "h": 306.1
  },
  "luminance": 0.07631
}

Semantic roles & 50–950 ramp

primary
#6D2D9F
secondary
#8FBE6A
accent
#DF498B
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6D2D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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