#6A1E86#6A1E86

#6A1E86 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.168 H 315.0°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#6A1E86
RGBrgb(106, 30, 134)
HSLhsl(284, 63%, 32%)
HSVhsv(284, 78%, 53%)
CMYKcmyk(20.9%, 77.6%, 0%, 47.5%)
CIE-LABlab(28.68, 48.92, -42.23)
CIE-LCHlch(28.68, 64.63, 319.20°)
OKLaboklab(40.7% 0.119 -0.1191)
OKLCHoklch(40.7% 0.168 315)
XYZxyz(10.7105, 5.7143, 23.0884)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1E86 #3A861E
analogous
#361E86 #6A1E86 #861E6E
triadic
#6A1E86 #866A1E #1E866A
tetradic
#6A1E86 #86361E #3A861E #1E6E86
square
#6A1E86 #86361E #3A861E #1E6E86
split-complementary
#6A1E86 #6E861E #1E8636
monochromatic
#1B0822 #421354 #6A1E86 #9229B8 #B048D6

Accessibility & contrast

On white

9.80
#6A1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#6A1E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1E86
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1E86#FFFFFF#000000##FFFFFF
##6A1E861.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#194684
Tritanopia (blue-blind)
#683551
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6a1e86;
/* rgb */ color: rgb(106, 30, 134);
/* oklch */ color: oklch(40.7% 0.168 315.0);
Tailwind
colors: {
  custom: {
    50: '#9863aa',
    500: '#6a1e86',
    950: '#000000',
  },
}
SCSS
$custom: #6a1e86;
$custom-light: #9863aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1e86",
  "rgb": {
    "r": 106,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 283.846,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40699,
    "c": 0.16838,
    "h": 315
  },
  "luminance": 0.05714
}

Semantic roles & 50–950 ramp

primary
#6A1E86
secondary
#66B847
accent
#E6416E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6A1E86

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

Preview Lab → · Contrast checker → · Palette generator →

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