#6C2B8D#6C2B8D

#6C2B8D is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.160 H 312.0°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#6C2B8D
RGBrgb(108, 43, 141)
HSLhsl(280, 53%, 36%)
HSVhsv(280, 70%, 55%)
CMYKcmyk(23.4%, 69.5%, 0%, 44.7%)
CIE-LABlab(31.44, 45.34, -42.11)
CIE-LCHlch(31.44, 61.88, 317.11°)
OKLaboklab(42.88% 0.107 -0.1188)
OKLCHoklch(42.88% 0.16 312)
XYZxyz(11.8551, 6.8393, 25.8898)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2B8D #4C8D2B
analogous
#3B2B8D #6C2B8D #8D2B7D
triadic
#6C2B8D #8D6C2B #2B8D6C
tetradic
#6C2B8D #8D3B2B #4C8D2B #2B7D8D
square
#6C2B8D #8D3B2B #4C8D2B #2B7D8D
split-complementary
#6C2B8D #7D8D2B #2B8D3B
monochromatic
#240E2F #481D5E #6C2B8D #9039BC #AB63CF

Accessibility & contrast

On white

8.87
#6C2B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6C2B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2B8D
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2B8D#FFFFFF#000000##FFFFFF
##6C2B8D1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#214B8B
Tritanopia (blue-blind)
#683F58
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6c2b8d;
/* rgb */ color: rgb(108, 43, 141);
/* oklch */ color: oklch(42.9% 0.160 312.0);
Tailwind
colors: {
  custom: {
    50: '#996aaf',
    500: '#6c2b8d',
    950: '#000000',
  },
}
SCSS
$custom: #6c2b8d;
$custom-light: #996aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2b8d",
  "rgb": {
    "r": 108,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 279.796,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42882,
    "c": 0.15992,
    "h": 312
  },
  "luminance": 0.06839
}

Semantic roles & 50–950 ramp

primary
#6C2B8D
secondary
#7CB65E
accent
#DD4B7C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6C2B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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