#6A1870#6A1870

#6A1870 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.6% C 0.155 H 325.0°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#6A1870
RGBrgb(106, 24, 112)
HSLhsl(296, 65%, 27%)
HSVhsv(296, 79%, 44%)
CMYKcmyk(5.4%, 78.6%, 0%, 56.1%)
CIE-LABlab(26.41, 46.72, -31.94)
CIE-LCHlch(26.41, 56.59, 325.64°)
OKLaboklab(38.61% 0.1271 -0.089)
OKLCHoklch(38.61% 0.155 325)
XYZxyz(9.1949, 4.8879, 15.7852)
Luminance0.0489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1870 #1E7018
analogous
#3E1870 #6A1870 #70184A
triadic
#6A1870 #706A18 #18706A
tetradic
#6A1870 #703E18 #1E7018 #184A70
square
#6A1870 #703E18 #1E7018 #184A70
split-complementary
#6A1870 #4A7018 #18703E
monochromatic
#180519 #3A0D3E #6A1870 #9A23A2 #C830D3

Accessibility & contrast

On white

10.62
#6A1870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#6A1870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1870
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1870#FFFFFF#000000##FFFFFF
##6A18701.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003872
Deuteranopia (green-blind)
#2B426E
Tritanopia (blue-blind)
#6C2843
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6a1870;
/* rgb */ color: rgb(106, 24, 112);
/* oklch */ color: oklch(38.6% 0.155 325.0);
Tailwind
colors: {
  custom: {
    50: '#985f99',
    500: '#6a1870',
    950: '#000000',
  },
}
SCSS
$custom: #6a1870;
$custom-light: #985f99;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1870",
  "rgb": {
    "r": 106,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 295.909,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.38609,
    "c": 0.15515,
    "h": 325
  },
  "luminance": 0.04887
}

Semantic roles & 50–950 ramp

primary
#6A1870
secondary
#45A53E
accent
#E8404C
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6A1870

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

Preview Lab → · Contrast checker → · Palette generator →

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