#6D2D95#6D2D95

#6D2D95 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.8% C 0.166 H 309.4°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#6D2D95
RGBrgb(109, 45, 149)
HSLhsl(277, 54%, 38%)
HSVhsv(277, 70%, 58%)
CMYKcmyk(26.8%, 69.8%, 0%, 41.6%)
CIE-LABlab(32.48, 46.46, -45.35)
CIE-LCHlch(32.48, 64.92, 315.69°)
OKLaboklab(43.83% 0.1053 -0.1283)
OKLCHoklch(43.83% 0.166 309.4)
XYZxyz(12.6688, 7.2981, 29.1692)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2D95 #55952D
analogous
#392D95 #6D2D95 #952D89
triadic
#6D2D95 #956D2D #2D956D
tetradic
#6D2D95 #95392D #55952D #2D8995
square
#6D2D95 #95392D #55952D #2D8995
split-complementary
#6D2D95 #89952D #2D9539
monochromatic
#281137 #4B1F66 #6D2D95 #8F3BC4 #AA6AD2

Accessibility & contrast

On white

8.54
#6D2D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6D2D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2D95
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2D95#FFFFFF#000000##FFFFFF
##6D2D951.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#1A4D93
Tritanopia (blue-blind)
#67435D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6d2d95;
/* rgb */ color: rgb(109, 45, 149);
/* oklch */ color: oklch(43.8% 0.166 309.4);
Tailwind
colors: {
  custom: {
    50: '#9b6bb5',
    500: '#6d2d95',
    950: '#000000',
  },
}
SCSS
$custom: #6d2d95;
$custom-light: #9b6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2d95",
  "rgb": {
    "r": 109,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 276.923,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43833,
    "c": 0.16597,
    "h": 309.4
  },
  "luminance": 0.07298
}

Semantic roles & 50–950 ramp

primary
#6D2D95
secondary
#85B965
accent
#DD4B83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6D2D95

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

Preview Lab → · Contrast checker → · Palette generator →

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