#6A1E87#6A1E87

#6A1E87 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.8% C 0.169 H 314.6°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#6A1E87
RGBrgb(106, 30, 135)
HSLhsl(283, 64%, 32%)
HSVhsv(283, 78%, 53%)
CMYKcmyk(21.5%, 77.8%, 0%, 47.1%)
CIE-LABlab(28.75, 49.13, -42.74)
CIE-LCHlch(28.75, 65.12, 318.98°)
OKLaboklab(40.77% 0.1188 -0.1206)
OKLCHoklch(40.77% 0.169 314.6)
XYZxyz(10.7806, 5.7424, 23.4575)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1E87 #3B871E
analogous
#361E87 #6A1E87 #871E6F
triadic
#6A1E87 #876A1E #1E876A
tetradic
#6A1E87 #87361E #3B871E #1E6F87
square
#6A1E87 #87361E #3B871E #1E6F87
split-complementary
#6A1E87 #6F871E #1E8736
monochromatic
#1B0823 #431355 #6A1E87 #9129B9 #AF49D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A1E87#FFFFFF#000000##FFFFFF
##6A1E871.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)
#00408A
Deuteranopia (green-blind)
#184685
Tritanopia (blue-blind)
#673651
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6a1e87;
/* rgb */ color: rgb(106, 30, 135);
/* oklch */ color: oklch(40.8% 0.169 314.6);
Tailwind
colors: {
  custom: {
    50: '#9863ab',
    500: '#6a1e87',
    950: '#000000',
  },
}
SCSS
$custom: #6a1e87;
$custom-light: #9863ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1e87",
  "rgb": {
    "r": 106,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 283.429,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40773,
    "c": 0.16932,
    "h": 314.6
  },
  "luminance": 0.05742
}

Semantic roles & 50–950 ramp

primary
#6A1E87
secondary
#67B948
accent
#E7416F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6A1E87

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

Preview Lab → · Contrast checker → · Palette generator →

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