#6C2B86#6C2B86

#6C2B86 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.4% C 0.153 H 314.8°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#6C2B86
RGBrgb(108, 43, 134)
HSLhsl(283, 51%, 35%)
HSVhsv(283, 68%, 53%)
CMYKcmyk(19.4%, 67.9%, 0%, 47.5%)
CIE-LABlab(30.97, 43.78, -38.53)
CIE-LCHlch(30.97, 58.32, 318.65°)
OKLaboklab(42.39% 0.1075 -0.1083)
OKLCHoklch(42.39% 0.153 314.8)
XYZxyz(11.3506, 6.6375, 23.2329)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2B86 #45862B
analogous
#3F2B86 #6C2B86 #862B73
triadic
#6C2B86 #866C2B #2B866C
tetradic
#6C2B86 #863F2B #45862B #2B7386
square
#6C2B86 #863F2B #45862B #2B7386
split-complementary
#6C2B86 #73862B #2B863F
monochromatic
#210D29 #471C58 #6C2B86 #913AB4 #AD60CC

Accessibility & contrast

On white

9.02
#6C2B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6C2B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2B86
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2B86#FFFFFF#000000##FFFFFF
##6C2B861.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#284B84
Tritanopia (blue-blind)
#6A3C55
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6c2b86;
/* rgb */ color: rgb(108, 43, 134);
/* oklch */ color: oklch(42.4% 0.153 314.8);
Tailwind
colors: {
  custom: {
    50: '#9969aa',
    500: '#6c2b86',
    950: '#000000',
  },
}
SCSS
$custom: #6c2b86;
$custom-light: #9969aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2b86",
  "rgb": {
    "r": 108,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 282.857,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42393,
    "c": 0.15263,
    "h": 314.8
  },
  "luminance": 0.06637
}

Semantic roles & 50–950 ramp

primary
#6C2B86
secondary
#74B25B
accent
#DB4D75
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6C2B86

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

Preview Lab → · Contrast checker → · Palette generator →

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