#6E1A85#6E1A85

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

Color values

HEX#6E1A85
RGBrgb(110, 26, 133)
HSLhsl(287, 67%, 31%)
HSVhsv(287, 80%, 52%)
CMYKcmyk(17.3%, 80.5%, 0%, 47.8%)
CIE-LABlab(28.77, 50.94, -41.43)
CIE-LCHlch(28.77, 65.66, 320.88°)
OKLaboklab(40.87% 0.128 -0.1166)
OKLCHoklch(40.87% 0.173 317.7)
XYZxyz(11.0328, 5.7477, 22.7140)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1A85 #31851A
analogous
#381A85 #6E1A85 #851A66
triadic
#6E1A85 #856E1A #1A856E
tetradic
#6E1A85 #85381A #31851A #1A6685
square
#6E1A85 #85381A #31851A #1A6685
split-complementary
#6E1A85 #66851A #1A8538
monochromatic
#19061F #441052 #6E1A85 #9824B8 #B940DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E1A85#FFFFFF#000000##FFFFFF
##6E1A851.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)
#003F88
Deuteranopia (green-blind)
#1E4683
Tritanopia (blue-blind)
#6D324F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e1a85;
/* rgb */ color: rgb(110, 26, 133);
/* oklch */ color: oklch(40.9% 0.173 317.7);
Tailwind
colors: {
  custom: {
    50: '#9b62a9',
    500: '#6e1a85',
    950: '#000000',
  },
}
SCSS
$custom: #6e1a85;
$custom-light: #9b62a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1a85",
  "rgb": {
    "r": 110,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 287.103,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40868,
    "c": 0.17318,
    "h": 317.7
  },
  "luminance": 0.05747
}

Semantic roles & 50–950 ramp

primary
#6E1A85
secondary
#5CB842
accent
#EA3E63
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1A85

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

Preview Lab → · Contrast checker → · Palette generator →

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