#6C2D8D#6C2D8D

#6C2D8D is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.1% C 0.157 H 311.8°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#6C2D8D
RGBrgb(108, 45, 141)
HSLhsl(279, 52%, 36%)
HSVhsv(279, 68%, 55%)
CMYKcmyk(23.4%, 68.1%, 0%, 44.7%)
CIE-LABlab(31.78, 44.39, -41.56)
CIE-LCHlch(31.78, 60.81, 316.88°)
OKLaboklab(43.13% 0.1047 -0.1172)
OKLCHoklch(43.13% 0.157 311.8)
XYZxyz(11.9296, 6.9883, 25.9146)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2D8D #4E8D2D
analogous
#3C2D8D #6C2D8D #8D2D7E
triadic
#6C2D8D #8D6C2D #2D8D6C
tetradic
#6C2D8D #8D3C2D #4E8D2D #2D7E8D
square
#6C2D8D #8D3C2D #4E8D2D #2D7E8D
split-complementary
#6C2D8D #7E8D2D #2D8D3C
monochromatic
#250F30 #481E5F #6C2D8D #903CBB #AA66CE

Accessibility & contrast

On white

8.76
#6C2D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6C2D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2D8D
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2D8D#FFFFFF#000000##FFFFFF
##6C2D8D1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#234C8B
Tritanopia (blue-blind)
#684059
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6c2d8d;
/* rgb */ color: rgb(108, 45, 141);
/* oklch */ color: oklch(43.1% 0.157 311.8);
Tailwind
colors: {
  custom: {
    50: '#996baf',
    500: '#6c2d8d',
    950: '#000000',
  },
}
SCSS
$custom: #6c2d8d;
$custom-light: #996baf;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2d8d",
  "rgb": {
    "r": 108,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 279.375,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43128,
    "c": 0.15715,
    "h": 311.8
  },
  "luminance": 0.06988
}

Semantic roles & 50–950 ramp

primary
#6C2D8D
secondary
#7EB561
accent
#DB4D7E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6C2D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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