#6A156F#6A156F

#6A156F is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.3% C 0.157 H 325.6°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#6A156F
RGBrgb(106, 21, 111)
HSLhsl(297, 68%, 26%)
HSVhsv(297, 81%, 44%)
CMYKcmyk(4.5%, 81.1%, 0%, 56.5%)
CIE-LABlab(26.01, 47.52, -31.95)
CIE-LCHlch(26.01, 57.26, 326.09°)
OKLaboklab(38.3% 0.1299 -0.089)
OKLCHoklch(38.3% 0.157 325.6)
XYZxyz(9.0811, 4.7488, 15.4742)
Luminance0.0475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A156F #1A6F15
analogous
#3D156F #6A156F #6F1547
triadic
#6A156F #6F6A15 #156F6A
tetradic
#6A156F #6F3D15 #1A6F15 #15476F
square
#6A156F #6F3D15 #1A6F15 #15476F
split-complementary
#6A156F #476F15 #156F3D
monochromatic
#19051A #390B3C #6A156F #9B1FA2 #CC28D6

Accessibility & contrast

On white

10.77
#6A156F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#6A156F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A156F
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A156F#FFFFFF#000000##FFFFFF
##6A156F1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#2A416D
Tritanopia (blue-blind)
#6D2642
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6a156f;
/* rgb */ color: rgb(106, 21, 111);
/* oklch */ color: oklch(38.3% 0.157 325.6);
Tailwind
colors: {
  custom: {
    50: '#985e99',
    500: '#6a156f',
    950: '#000000',
  },
}
SCSS
$custom: #6a156f;
$custom-light: #985e99;
$custom-dark: #000000;
JSON
{
  "hex": "#6a156f",
  "rgb": {
    "r": 106,
    "g": 21,
    "b": 111
  },
  "hsl": {
    "h": 296.667,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38299,
    "c": 0.15744,
    "h": 325.6
  },
  "luminance": 0.04748
}

Semantic roles & 50–950 ramp

primary
#6A156F
secondary
#40A53A
accent
#EB3D46
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6A156F

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

Preview Lab → · Contrast checker → · Palette generator →

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