#6C2D7A#6C2D7A

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

Color values

HEX#6C2D7A
RGBrgb(108, 45, 122)
HSLhsl(289, 46%, 33%)
HSVhsv(289, 63%, 48%)
CMYKcmyk(11.5%, 63.1%, 0%, 52.2%)
CIE-LABlab(30.57, 40.21, -31.66)
CIE-LCHlch(30.57, 51.17, 321.78°)
OKLaboklab(41.86% 0.1051 -0.0883)
OKLCHoklch(41.86% 0.137 320)
XYZxyz(10.6351, 6.4705, 19.0973)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2D7A #3B7A2D
analogous
#452D7A #6C2D7A #7A2D61
triadic
#6C2D7A #7A6C2D #2D7A6C
tetradic
#6C2D7A #7A452D #3B7A2D #2D617A
square
#6C2D7A #7A452D #3B7A2D #2D617A
split-complementary
#6C2D7A #617A2D #2D7A45
monochromatic
#1D0C21 #441D4D #6C2D7A #943DA7 #B15EC4

Accessibility & contrast

On white

9.15
#6C2D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6C2D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2D7A
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2D7A#FFFFFF#000000##FFFFFF
##6C2D7A1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A447C
Deuteranopia (green-blind)
#334A78
Tritanopia (blue-blind)
#6D394F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6c2d7a;
/* rgb */ color: rgb(108, 45, 122);
/* oklch */ color: oklch(41.9% 0.137 320.0);
Tailwind
colors: {
  custom: {
    50: '#986aa1',
    500: '#6c2d7a',
    950: '#000000',
  },
}
SCSS
$custom: #6c2d7a;
$custom-light: #986aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2d7a",
  "rgb": {
    "r": 108,
    "g": 45,
    "b": 122
  },
  "hsl": {
    "h": 289.091,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41864,
    "c": 0.13721,
    "h": 320
  },
  "luminance": 0.0647
}

Semantic roles & 50–950 ramp

primary
#6C2D7A
secondary
#68AA59
accent
#D6526A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070F
muted
#7E7A7E

Preview Lab

Preview with #6C2D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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