#6C2A83#6C2A83

#6C2A83 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.1% C 0.151 H 316.2°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#6C2A83
RGBrgb(108, 42, 131)
HSLhsl(284, 51%, 34%)
HSVhsv(284, 68%, 51%)
CMYKcmyk(17.6%, 67.9%, 0%, 48.6%)
CIE-LABlab(30.60, 43.60, -37.25)
CIE-LCHlch(30.60, 57.35, 319.49°)
OKLaboklab(42.07% 0.1089 -0.1046)
OKLCHoklch(42.07% 0.151 316.2)
XYZxyz(11.1084, 6.4832, 22.1346)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2A83 #41832A
analogous
#402A83 #6C2A83 #832A6E
triadic
#6C2A83 #836C2A #2A836C
tetradic
#6C2A83 #83402A #41832A #2A6E83
square
#6C2A83 #83402A #41832A #2A6E83
split-complementary
#6C2A83 #6E832A #2A8340
monochromatic
#200C26 #461B55 #6C2A83 #9239B1 #AE5DCB

Accessibility & contrast

On white

9.14
#6C2A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C2A83
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2A83#FFFFFF#000000##FFFFFF
##6C2A831.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024486
Deuteranopia (green-blind)
#2A4A81
Tritanopia (blue-blind)
#6B3B53
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6c2a83;
/* rgb */ color: rgb(108, 42, 131);
/* oklch */ color: oklch(42.1% 0.151 316.2);
Tailwind
colors: {
  custom: {
    50: '#9969a7',
    500: '#6c2a83',
    950: '#000000',
  },
}
SCSS
$custom: #6c2a83;
$custom-light: #9969a7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2a83",
  "rgb": {
    "r": 108,
    "g": 42,
    "b": 131
  },
  "hsl": {
    "h": 284.494,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42066,
    "c": 0.15096,
    "h": 316.2
  },
  "luminance": 0.06483
}

Semantic roles & 50–950 ramp

primary
#6C2A83
secondary
#6FB158
accent
#DB4D72
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6C2A83

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

Preview Lab → · Contrast checker → · Palette generator →

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