#6B156A#6B156A

#6B156A is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.1% C 0.154 H 328.6°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#6B156A
RGBrgb(107, 21, 106)
HSLhsl(301, 67%, 25%)
HSVhsv(301, 80%, 42%)
CMYKcmyk(0%, 80.4%, 0.9%, 58%)
CIE-LABlab(25.87, 46.84, -28.92)
CIE-LCHlch(25.87, 55.05, 328.31°)
OKLaboklab(38.14% 0.1313 -0.0801)
OKLCHoklch(38.14% 0.154 328.6)
XYZxyz(8.9330, 4.7034, 14.0702)
Luminance0.0470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B156A #156B16
analogous
#41156B #6B156A #6B153F
triadic
#6B156A #6A6B15 #156A6B
tetradic
#6B156A #6B4115 #156B16 #153F6B
square
#6B156A #6B4115 #156B16 #153F6B
split-complementary
#6B156A #3F6B15 #156B41
monochromatic
#1A0519 #380B37 #6B156A #9E1F9D #D129CF

Accessibility & contrast

On white

10.82
#6B156A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#6B156A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B156A
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B156A#FFFFFF#000000##FFFFFF
##6B156A1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02366C
Deuteranopia (green-blind)
#2E4168
Tritanopia (blue-blind)
#6F233F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6b156a;
/* rgb */ color: rgb(107, 21, 106);
/* oklch */ color: oklch(38.1% 0.154 328.6);
Tailwind
colors: {
  custom: {
    50: '#995e95',
    500: '#6b156a',
    950: '#000000',
  },
}
SCSS
$custom: #6b156a;
$custom-light: #995e95;
$custom-dark: #000000;
JSON
{
  "hex": "#6b156a",
  "rgb": {
    "r": 107,
    "g": 21,
    "b": 106
  },
  "hsl": {
    "h": 300.698,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.38137,
    "c": 0.15379,
    "h": 328.6
  },
  "luminance": 0.04703
}

Semantic roles & 50–950 ramp

primary
#6B156A
secondary
#3AA23B
accent
#EA403E
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6B156A

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

Preview Lab → · Contrast checker → · Palette generator →

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