#6A137E#6A137E

#6A137E is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.2% C 0.172 H 318.9°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#6A137E
RGBrgb(106, 19, 126)
HSLhsl(289, 74%, 28%)
HSVhsv(289, 85%, 49%)
CMYKcmyk(15.9%, 84.9%, 0%, 50.6%)
CIE-LABlab(26.84, 50.93, -40.17)
CIE-LCHlch(26.84, 64.87, 321.74°)
OKLaboklab(39.22% 0.1296 -0.113)
OKLCHoklch(39.22% 0.172 318.9)
XYZxyz(9.9421, 5.0368, 20.1831)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A137E #277E13
analogous
#34137E #6A137E #7E135C
triadic
#6A137E #7E6A13 #137E6A
tetradic
#6A137E #7E3413 #277E13 #135C7E
square
#6A137E #7E3413 #277E13 #135C7E
split-complementary
#6A137E #5C7E13 #137E34
monochromatic
#16041B #3D0B49 #6A137E #971BB3 #BE2CDF

Accessibility & contrast

On white

10.46
#6A137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#6A137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A137E
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A137E#FFFFFF#000000##FFFFFF
##6A137E1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#1B427C
Tritanopia (blue-blind)
#6A2C4A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6a137e;
/* rgb */ color: rgb(106, 19, 126);
/* oklch */ color: oklch(39.2% 0.172 318.9);
Tailwind
colors: {
  custom: {
    50: '#985ea4',
    500: '#6a137e',
    950: '#000000',
  },
}
SCSS
$custom: #6a137e;
$custom-light: #985ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a137e",
  "rgb": {
    "r": 106,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 288.785,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39217,
    "c": 0.17199,
    "h": 318.9
  },
  "luminance": 0.05036
}

Semantic roles & 50–950 ramp

primary
#6A137E
secondary
#50B439
accent
#F0375A
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6A137E

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

Preview Lab → · Contrast checker → · Palette generator →

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