#6A2870#6A2870

#6A2870 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.3% C 0.134 H 324.3°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#6A2870
RGBrgb(106, 40, 112)
HSLhsl(295, 47%, 30%)
HSVhsv(295, 64%, 44%)
CMYKcmyk(5.4%, 64.3%, 0%, 56.1%)
CIE-LABlab(28.78, 40.06, -28.18)
CIE-LCHlch(28.78, 48.98, 324.88°)
OKLaboklab(40.31% 0.1087 -0.0782)
OKLCHoklch(40.31% 0.134 324.3)
XYZxyz(9.6270, 5.7522, 15.9293)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2870 #2E7028
analogous
#462870 #6A2870 #702852
triadic
#6A2870 #706A28 #28706A
tetradic
#6A2870 #704628 #2E7028 #285270
square
#6A2870 #704628 #2E7028 #285270
split-complementary
#6A2870 #527028 #287046
monochromatic
#150817 #3F1843 #6A2870 #95389D #B851C1

Accessibility & contrast

On white

9.77
#6A2870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6A2870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2870
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2870#FFFFFF#000000##FFFFFF
##6A28701.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3F72
Deuteranopia (green-blind)
#34476E
Tritanopia (blue-blind)
#6C3248
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6a2870;
/* rgb */ color: rgb(106, 40, 112);
/* oklch */ color: oklch(40.3% 0.134 324.3);
Tailwind
colors: {
  custom: {
    50: '#976799',
    500: '#6a2870',
    950: '#000000',
  },
}
SCSS
$custom: #6a2870;
$custom-light: #976799;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2870",
  "rgb": {
    "r": 106,
    "g": 40,
    "b": 112
  },
  "hsl": {
    "h": 295,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4031,
    "c": 0.1339,
    "h": 324.3
  },
  "luminance": 0.05752
}

Semantic roles & 50–950 ramp

primary
#6A2870
secondary
#58A251
accent
#D7515C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6A2870

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

Preview Lab → · Contrast checker → · Palette generator →

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