#6B2A79#6B2A79

#6B2A79 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.3% C 0.140 H 320.1°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#6B2A79
RGBrgb(107, 42, 121)
HSLhsl(289, 48%, 32%)
HSVhsv(289, 65%, 47%)
CMYKcmyk(11.6%, 65.3%, 0%, 52.5%)
CIE-LABlab(29.82, 41.21, -32.23)
CIE-LCHlch(29.82, 52.32, 321.97°)
OKLaboklab(41.27% 0.1077 -0.0899)
OKLCHoklch(41.27% 0.14 320.1)
XYZxyz(10.3421, 6.1627, 18.7302)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2A79 #38792A
analogous
#442A79 #6B2A79 #792A60
triadic
#6B2A79 #796B2A #2A796B
tetradic
#6B2A79 #79442A #38792A #2A6079
square
#6B2A79 #79442A #38792A #2A6079
split-complementary
#6B2A79 #60792A #2A7944
monochromatic
#1B0A1E #431A4C #6B2A79 #933AA6 #B258C5

Accessibility & contrast

On white

9.41
#6B2A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6B2A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2A79
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2A79#FFFFFF#000000##FFFFFF
##6B2A791.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15427B
Deuteranopia (green-blind)
#314977
Tritanopia (blue-blind)
#6C374D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6b2a79;
/* rgb */ color: rgb(107, 42, 121);
/* oklch */ color: oklch(41.3% 0.140 320.1);
Tailwind
colors: {
  custom: {
    50: '#9868a0',
    500: '#6b2a79',
    950: '#000000',
  },
}
SCSS
$custom: #6b2a79;
$custom-light: #9868a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2a79",
  "rgb": {
    "r": 107,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 289.367,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41269,
    "c": 0.14031,
    "h": 320.1
  },
  "luminance": 0.06162
}

Semantic roles & 50–950 ramp

primary
#6B2A79
secondary
#63AB54
accent
#D85068
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6B2A79

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

Preview Lab → · Contrast checker → · Palette generator →

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