#6A2B84#6A2B84

#6A2B84 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.0% C 0.150 H 314.5°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#6A2B84
RGBrgb(106, 43, 132)
HSLhsl(282, 51%, 34%)
HSVhsv(282, 67%, 52%)
CMYKcmyk(19.7%, 67.4%, 0%, 48.2%)
CIE-LABlab(30.54, 42.85, -37.99)
CIE-LCHlch(30.54, 57.27, 318.44°)
OKLaboklab(41.98% 0.1049 -0.1068)
OKLCHoklch(41.98% 0.15 314.5)
XYZxyz(10.9719, 6.4582, 22.4939)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2B84 #45842B
analogous
#3E2B84 #6A2B84 #842B72
triadic
#6A2B84 #846A2B #2B846A
tetradic
#6A2B84 #843E2B #45842B #2B7284
square
#6A2B84 #843E2B #45842B #2B7284
split-complementary
#6A2B84 #72842B #2B843E
monochromatic
#200D28 #451C56 #6A2B84 #8F3AB2 #AB5FCB

Accessibility & contrast

On white

9.16
#6A2B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6A2B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2B84
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2B84#FFFFFF#000000##FFFFFF
##6A2B841.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004487
Deuteranopia (green-blind)
#284A82
Tritanopia (blue-blind)
#683C53
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6a2b84;
/* rgb */ color: rgb(106, 43, 132);
/* oklch */ color: oklch(42.0% 0.150 314.5);
Tailwind
colors: {
  custom: {
    50: '#9869a8',
    500: '#6a2b84',
    950: '#000000',
  },
}
SCSS
$custom: #6a2b84;
$custom-light: #9869a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2b84",
  "rgb": {
    "r": 106,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 282.472,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41982,
    "c": 0.14973,
    "h": 314.5
  },
  "luminance": 0.06458
}

Semantic roles & 50–950 ramp

primary
#6A2B84
secondary
#73B15A
accent
#DA4D77
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6A2B84

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

Preview Lab → · Contrast checker → · Palette generator →

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