#6B2D79#6B2D79

#6B2D79 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.7% C 0.136 H 319.9°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#6B2D79
RGBrgb(107, 45, 121)
HSLhsl(289, 46%, 33%)
HSVhsv(289, 63%, 47%)
CMYKcmyk(11.6%, 62.8%, 0%, 52.5%)
CIE-LABlab(30.36, 39.72, -31.37)
CIE-LCHlch(30.36, 50.62, 321.70°)
OKLaboklab(41.66% 0.1037 -0.0874)
OKLCHoklch(41.66% 0.136 319.9)
XYZxyz(10.4526, 6.3835, 18.7670)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2D79 #3B792D
analogous
#452D79 #6B2D79 #792D61
triadic
#6B2D79 #796B2D #2D796B
tetradic
#6B2D79 #79452D #3B792D #2D6179
square
#6B2D79 #79452D #3B792D #2D6179
split-complementary
#6B2D79 #61792D #2D7945
monochromatic
#1C0C20 #441C4C #6B2D79 #923EA6 #B05DC3

Accessibility & contrast

On white

9.22
#6B2D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6B2D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2D79
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2D79#FFFFFF#000000##FFFFFF
##6B2D791.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B437B
Deuteranopia (green-blind)
#334A77
Tritanopia (blue-blind)
#6B394E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6b2d79;
/* rgb */ color: rgb(107, 45, 121);
/* oklch */ color: oklch(41.7% 0.136 319.9);
Tailwind
colors: {
  custom: {
    50: '#986aa0',
    500: '#6b2d79',
    950: '#000000',
  },
}
SCSS
$custom: #6b2d79;
$custom-light: #986aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2d79",
  "rgb": {
    "r": 107,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 288.947,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41661,
    "c": 0.13567,
    "h": 319.9
  },
  "luminance": 0.06383
}

Semantic roles & 50–950 ramp

primary
#6B2D79
secondary
#67A958
accent
#D5526B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070F
muted
#7E7A7E

Preview Lab

Preview with #6B2D79

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

Preview Lab → · Contrast checker → · Palette generator →

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