#6A2B79#6A2B79

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

Color values

HEX#6A2B79
RGBrgb(106, 43, 121)
HSLhsl(288, 48%, 32%)
HSVhsv(288, 64%, 47%)
CMYKcmyk(12.4%, 64.5%, 0%, 52.5%)
CIE-LABlab(29.84, 40.45, -32.20)
CIE-LCHlch(29.84, 51.70, 321.48°)
OKLaboklab(41.26% 0.1051 -0.0899)
OKLCHoklch(41.26% 0.138 319.5)
XYZxyz(10.2585, 6.1729, 18.7366)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2B79 #3A792B
analogous
#432B79 #6A2B79 #792B61
triadic
#6A2B79 #796A2B #2B796A
tetradic
#6A2B79 #79432B #3A792B #2B6179
square
#6A2B79 #79432B #3A792B #2B6179
split-complementary
#6A2B79 #61792B #2B7943
monochromatic
#1B0B1F #421B4C #6A2B79 #923BA6 #B05AC4

Accessibility & contrast

On white

9.40
#6A2B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A2B79
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2B79#FFFFFF#000000##FFFFFF
##6A2B791.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16427B
Deuteranopia (green-blind)
#314877
Tritanopia (blue-blind)
#6A384E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6a2b79;
/* rgb */ color: rgb(106, 43, 121);
/* oklch */ color: oklch(41.3% 0.138 319.5);
Tailwind
colors: {
  custom: {
    50: '#9769a0',
    500: '#6a2b79',
    950: '#000000',
  },
}
SCSS
$custom: #6a2b79;
$custom-light: #9769a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2b79",
  "rgb": {
    "r": 106,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 288.462,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41256,
    "c": 0.13828,
    "h": 319.5
  },
  "luminance": 0.06172
}

Semantic roles & 50–950 ramp

primary
#6A2B79
secondary
#66AA56
accent
#D7516B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6A2B79

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

Preview Lab → · Contrast checker → · Palette generator →

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