#6A2D78#6A2D78

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

Color values

HEX#6A2D78
RGBrgb(106, 45, 120)
HSLhsl(289, 45%, 32%)
HSVhsv(289, 63%, 47%)
CMYKcmyk(11.7%, 62.5%, 0%, 52.9%)
CIE-LABlab(30.15, 39.24, -31.08)
CIE-LCHlch(30.15, 50.06, 321.61°)
OKLaboklab(41.46% 0.1024 -0.0866)
OKLCHoklch(41.46% 0.134 319.8)
XYZxyz(10.2720, 6.2975, 18.4401)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2D78 #3B782D
analogous
#442D78 #6A2D78 #782D61
triadic
#6A2D78 #786A2D #2D786A
tetradic
#6A2D78 #78442D #3B782D #2D6178
square
#6A2D78 #78442D #3B782D #2D6178
split-complementary
#6A2D78 #61782D #2D7844
monochromatic
#1B0C1F #431C4B #6A2D78 #913EA5 #AF5DC2

Accessibility & contrast

On white

9.29
#6A2D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A2D78
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2D78#FFFFFF#000000##FFFFFF
##6A2D781.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a2d78;
/* rgb */ color: rgb(106, 45, 120);
/* oklch */ color: oklch(41.5% 0.134 319.8);
Tailwind
colors: {
  custom: {
    50: '#976a9f',
    500: '#6a2d78',
    950: '#000000',
  },
}
SCSS
$custom: #6a2d78;
$custom-light: #976a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2d78",
  "rgb": {
    "r": 106,
    "g": 45,
    "b": 120
  },
  "hsl": {
    "h": 288.8,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41459,
    "c": 0.13412,
    "h": 319.8
  },
  "luminance": 0.06297
}

Semantic roles & 50–950 ramp

primary
#6A2D78
secondary
#67A958
accent
#D5536B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #6A2D78

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

Preview Lab → · Contrast checker → · Palette generator →

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