#6B2C83#6B2C83

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

Color values

HEX#6B2C83
RGBrgb(107, 44, 131)
HSLhsl(283, 50%, 34%)
HSVhsv(283, 66%, 51%)
CMYKcmyk(18.3%, 66.4%, 0%, 48.6%)
CIE-LABlab(30.80, 42.39, -36.94)
CIE-LCHlch(30.80, 56.23, 318.93°)
OKLaboklab(42.18% 0.1051 -0.1037)
OKLCHoklch(42.18% 0.148 315.4)
XYZxyz(11.0602, 6.5662, 22.1531)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2C83 #44832C
analogous
#402C83 #6B2C83 #832C70
triadic
#6B2C83 #836B2C #2C836B
tetradic
#6B2C83 #83402C #44832C #2C7083
square
#6B2C83 #83402C #44832C #2C7083
split-complementary
#6B2C83 #70832C #2C8340
monochromatic
#200D27 #461D55 #6B2C83 #903BB1 #AC60CA

Accessibility & contrast

On white

9.08
#6B2C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B2C83
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2C83#FFFFFF#000000##FFFFFF
##6B2C831.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084586
Deuteranopia (green-blind)
#2B4A81
Tritanopia (blue-blind)
#693C53
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6b2c83;
/* rgb */ color: rgb(107, 44, 131);
/* oklch */ color: oklch(42.2% 0.148 315.4);
Tailwind
colors: {
  custom: {
    50: '#986aa7',
    500: '#6b2c83',
    950: '#000000',
  },
}
SCSS
$custom: #6b2c83;
$custom-light: #986aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2c83",
  "rgb": {
    "r": 107,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 283.448,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42178,
    "c": 0.14763,
    "h": 315.4
  },
  "luminance": 0.06566
}

Semantic roles & 50–950 ramp

primary
#6B2C83
secondary
#72B05B
accent
#D94F75
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6B2C83

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

Preview Lab → · Contrast checker → · Palette generator →

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