#6C2B83#6C2B83

#6C2B83 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.2% C 0.150 H 316.1°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#6C2B83
RGBrgb(108, 43, 131)
HSLhsl(284, 51%, 34%)
HSVhsv(284, 67%, 51%)
CMYKcmyk(17.6%, 67.2%, 0%, 48.6%)
CIE-LABlab(30.77, 43.12, -36.98)
CIE-LCHlch(30.77, 56.81, 319.39°)
OKLaboklab(42.19% 0.1077 -0.1038)
OKLCHoklch(42.19% 0.15 316.1)
XYZxyz(11.1443, 6.5550, 22.1465)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2B83 #42832B
analogous
#402B83 #6C2B83 #832B6E
triadic
#6C2B83 #836C2B #2B836C
tetradic
#6C2B83 #83402B #42832B #2B6E83
square
#6C2B83 #83402B #42832B #2B6E83
split-complementary
#6C2B83 #6E832B #2B8340
monochromatic
#200D27 #461C55 #6C2B83 #923AB1 #AE5ECA

Accessibility & contrast

On white

9.09
#6C2B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6C2B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2B83
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2B83#FFFFFF#000000##FFFFFF
##6C2B831.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c2b83;
/* rgb */ color: rgb(108, 43, 131);
/* oklch */ color: oklch(42.2% 0.150 316.1);
Tailwind
colors: {
  custom: {
    50: '#9969a7',
    500: '#6c2b83',
    950: '#000000',
  },
}
SCSS
$custom: #6c2b83;
$custom-light: #9969a7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2b83",
  "rgb": {
    "r": 108,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 284.318,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4219,
    "c": 0.14952,
    "h": 316.1
  },
  "luminance": 0.06555
}

Semantic roles & 50–950 ramp

primary
#6C2B83
secondary
#70B05A
accent
#DA4E72
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6C2B83

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

Preview Lab → · Contrast checker → · Palette generator →

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