#6C2D7B#6C2D7B

#6C2D7B is a dark, vivid purple. Relative luminance 0.065; OKLCH L 41.9% C 0.138 H 319.5°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#6C2D7B
RGBrgb(108, 45, 123)
HSLhsl(288, 46%, 33%)
HSVhsv(288, 63%, 48%)
CMYKcmyk(12.2%, 63.4%, 0%, 51.8%)
CIE-LABlab(30.63, 40.42, -32.19)
CIE-LCHlch(30.63, 51.67, 321.46°)
OKLaboklab(41.93% 0.1051 -0.0898)
OKLCHoklch(41.93% 0.138 319.5)
XYZxyz(10.6974, 6.4955, 19.4253)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2D7B #3C7B2D
analogous
#452D7B #6C2D7B #7B2D63
triadic
#6C2D7B #7B6C2D #2D7B6C
tetradic
#6C2D7B #7B452D #3C7B2D #2D637B
square
#6C2D7B #7B452D #3C7B2D #2D637B
split-complementary
#6C2D7B #637B2D #2D7B45
monochromatic
#1D0C21 #451D4E #6C2D7B #933DA8 #B15EC4

Accessibility & contrast

On white

9.13
#6C2D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6C2D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2D7B
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2D7B#FFFFFF#000000##FFFFFF
##6C2D7B1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19447D
Deuteranopia (green-blind)
#334A79
Tritanopia (blue-blind)
#6C3A4F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6c2d7b;
/* rgb */ color: rgb(108, 45, 123);
/* oklch */ color: oklch(41.9% 0.138 319.5);
Tailwind
colors: {
  custom: {
    50: '#986aa1',
    500: '#6c2d7b',
    950: '#000000',
  },
}
SCSS
$custom: #6c2d7b;
$custom-light: #986aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2d7b",
  "rgb": {
    "r": 108,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 288.462,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41927,
    "c": 0.13824,
    "h": 319.5
  },
  "luminance": 0.06495
}

Semantic roles & 50–950 ramp

primary
#6C2D7B
secondary
#69AB59
accent
#D6526B
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6C2D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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