#6B2785#6B2785

#6B2785 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.7% C 0.157 H 315.1°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#6B2785
RGBrgb(107, 39, 133)
HSLhsl(283, 55%, 34%)
HSVhsv(283, 71%, 52%)
CMYKcmyk(19.5%, 70.7%, 0%, 47.8%)
CIE-LABlab(30.09, 45.18, -39.33)
CIE-LCHlch(30.09, 59.90, 318.96°)
OKLaboklab(41.71% 0.111 -0.1107)
OKLCHoklch(41.71% 0.157 315.1)
XYZxyz(11.0219, 6.2707, 22.8155)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2785 #418527
analogous
#3C2785 #6B2785 #852770
triadic
#6B2785 #856B27 #27856B
tetradic
#6B2785 #853C27 #418527 #277085
square
#6B2785 #853C27 #418527 #277085
split-complementary
#6B2785 #708527 #27853C
monochromatic
#1F0B26 #451956 #6B2785 #9135B4 #AE58CE

Accessibility & contrast

On white

9.32
#6B2785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6B2785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2785
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2785#FFFFFF#000000##FFFFFF
##6B27851.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#244983
Tritanopia (blue-blind)
#693A53
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6b2785;
/* rgb */ color: rgb(107, 39, 133);
/* oklch */ color: oklch(41.7% 0.157 315.1);
Tailwind
colors: {
  custom: {
    50: '#9967a9',
    500: '#6b2785',
    950: '#000000',
  },
}
SCSS
$custom: #6b2785;
$custom-light: #9967a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2785",
  "rgb": {
    "r": 107,
    "g": 39,
    "b": 133
  },
  "hsl": {
    "h": 283.404,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41708,
    "c": 0.15673,
    "h": 315.1
  },
  "luminance": 0.0627
}

Semantic roles & 50–950 ramp

primary
#6B2785
secondary
#6FB355
accent
#DE4A73
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B2785

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

Preview Lab → · Contrast checker → · Palette generator →

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