#6A2A84#6A2A84

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

Color values

HEX#6A2A84
RGBrgb(106, 42, 132)
HSLhsl(283, 52%, 34%)
HSVhsv(283, 68%, 52%)
CMYKcmyk(19.7%, 68.2%, 0%, 48.2%)
CIE-LABlab(30.37, 43.33, -38.27)
CIE-LCHlch(30.37, 57.81, 318.55°)
OKLaboklab(41.86% 0.1062 -0.1076)
OKLCHoklch(41.86% 0.151 314.6)
XYZxyz(10.9360, 6.3864, 22.4819)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2A84 #44842A
analogous
#3D2A84 #6A2A84 #842A71
triadic
#6A2A84 #846A2A #2A846A
tetradic
#6A2A84 #843D2A #44842A #2A7184
square
#6A2A84 #843D2A #44842A #2A7184
split-complementary
#6A2A84 #71842A #2A843D
monochromatic
#1F0C27 #451B56 #6A2A84 #8F39B2 #AC5DCB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A2A84#FFFFFF#000000##FFFFFF
##6A2A841.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)
#004487
Deuteranopia (green-blind)
#274982
Tritanopia (blue-blind)
#683B53
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6a2a84;
/* rgb */ color: rgb(106, 42, 132);
/* oklch */ color: oklch(41.9% 0.151 314.6);
Tailwind
colors: {
  custom: {
    50: '#9869a8',
    500: '#6a2a84',
    950: '#000000',
  },
}
SCSS
$custom: #6a2a84;
$custom-light: #9869a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2a84",
  "rgb": {
    "r": 106,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 282.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41858,
    "c": 0.15116,
    "h": 314.6
  },
  "luminance": 0.06386
}

Semantic roles & 50–950 ramp

primary
#6A2A84
secondary
#72B159
accent
#DB4D76
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6A2A84

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

Preview Lab → · Contrast checker → · Palette generator →

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