#6C2B8A#6C2B8A

#6C2B8A is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.7% C 0.157 H 313.2°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#6C2B8A
RGBrgb(108, 43, 138)
HSLhsl(281, 52%, 35%)
HSVhsv(281, 69%, 54%)
CMYKcmyk(21.7%, 68.8%, 0%, 45.9%)
CIE-LABlab(31.23, 44.67, -40.59)
CIE-LCHlch(31.23, 60.36, 317.74°)
OKLaboklab(42.67% 0.1073 -0.1143)
OKLCHoklch(42.67% 0.157 313.2)
XYZxyz(11.6349, 6.7512, 24.7300)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2B8A #498A2B
analogous
#3D2B8A #6C2B8A #8A2B78
triadic
#6C2B8A #8A6C2B #2B8A6C
tetradic
#6C2B8A #8A3D2B #498A2B #2B788A
square
#6C2B8A #8A3D2B #498A2B #2B788A
split-complementary
#6C2B8A #788A2B #2B8A3D
monochromatic
#230E2D #471C5B #6C2B8A #913AB9 #AC61CE

Accessibility & contrast

On white

8.94
#6C2B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6C2B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2B8A
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2B8A#FFFFFF#000000##FFFFFF
##6C2B8A1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#244B88
Tritanopia (blue-blind)
#693E57
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6c2b8a;
/* rgb */ color: rgb(108, 43, 138);
/* oklch */ color: oklch(42.7% 0.157 313.2);
Tailwind
colors: {
  custom: {
    50: '#996aad',
    500: '#6c2b8a',
    950: '#000000',
  },
}
SCSS
$custom: #6c2b8a;
$custom-light: #996aad;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2b8a",
  "rgb": {
    "r": 108,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 281.053,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4267,
    "c": 0.15679,
    "h": 313.2
  },
  "luminance": 0.06751
}

Semantic roles & 50–950 ramp

primary
#6C2B8A
secondary
#78B45D
accent
#DC4C79
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6C2B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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