#6A2D79#6A2D79

#6A2D79 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.5% C 0.135 H 319.3°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#6A2D79
RGBrgb(106, 45, 121)
HSLhsl(288, 46%, 33%)
HSVhsv(288, 63%, 47%)
CMYKcmyk(12.4%, 62.8%, 0%, 52.5%)
CIE-LABlab(30.21, 39.45, -31.62)
CIE-LCHlch(30.21, 50.56, 321.29°)
OKLaboklab(41.52% 0.1024 -0.0882)
OKLCHoklch(41.52% 0.135 319.3)
XYZxyz(10.3330, 6.3219, 18.7614)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2D79 #3C792D
analogous
#442D79 #6A2D79 #792D62
triadic
#6A2D79 #796A2D #2D796A
tetradic
#6A2D79 #79442D #3C792D #2D6279
square
#6A2D79 #79442D #3C792D #2D6279
split-complementary
#6A2D79 #62792D #2D7944
monochromatic
#1C0C20 #431C4C #6A2D79 #913EA6 #AF5DC3

Accessibility & contrast

On white

9.27
#6A2D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6A2D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2D79
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2D79#FFFFFF#000000##FFFFFF
##6A2D791.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A437B
Deuteranopia (green-blind)
#324977
Tritanopia (blue-blind)
#6A394E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6a2d79;
/* rgb */ color: rgb(106, 45, 121);
/* oklch */ color: oklch(41.5% 0.135 319.3);
Tailwind
colors: {
  custom: {
    50: '#976aa0',
    500: '#6a2d79',
    950: '#000000',
  },
}
SCSS
$custom: #6a2d79;
$custom-light: #976aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2d79",
  "rgb": {
    "r": 106,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 288.158,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41521,
    "c": 0.13516,
    "h": 319.3
  },
  "luminance": 0.06321
}

Semantic roles & 50–950 ramp

primary
#6A2D79
secondary
#68A958
accent
#D5526C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070F
muted
#7E7A7E

Preview Lab

Preview with #6A2D79

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

Preview Lab → · Contrast checker → · Palette generator →

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