#6B156B#6B156B

#6B156B is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.2% C 0.155 H 328.1°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#6B156B
RGBrgb(107, 21, 107)
HSLhsl(300, 67%, 25%)
HSVhsv(300, 80%, 42%)
CMYKcmyk(0%, 80.4%, 0%, 58%)
CIE-LABlab(25.93, 47.02, -29.47)
CIE-LCHlch(25.93, 55.49, 327.92°)
OKLaboklab(38.2% 0.1313 -0.0817)
OKLCHoklch(38.2% 0.155 328.1)
XYZxyz(8.9853, 4.7243, 14.3457)
Luminance0.0472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B156B #156B15
analogous
#40156B #6B156B #6B1540
triadic
#6B156B #6B6B15 #156B6B
tetradic
#6B156B #6B4015 #156B15 #15406B
square
#6B156B #6B4015 #156B15 #15406B
split-complementary
#6B156B #406B15 #156B40
monochromatic
#1A051A #380B38 #6B156B #9E1F9E #D129D1

Accessibility & contrast

On white

10.80
#6B156B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B156B
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B156B#FFFFFF#000000##FFFFFF
##6B156B1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01366D
Deuteranopia (green-blind)
#2E4169
Tritanopia (blue-blind)
#6F2340
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6b156b;
/* rgb */ color: rgb(107, 21, 107);
/* oklch */ color: oklch(38.2% 0.155 328.1);
Tailwind
colors: {
  custom: {
    50: '#995e96',
    500: '#6b156b',
    950: '#000000',
  },
}
SCSS
$custom: #6b156b;
$custom-light: #995e96;
$custom-dark: #000000;
JSON
{
  "hex": "#6b156b",
  "rgb": {
    "r": 107,
    "g": 21,
    "b": 107
  },
  "hsl": {
    "h": 300,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.38201,
    "c": 0.15461,
    "h": 328.1
  },
  "luminance": 0.04724
}

Semantic roles & 50–950 ramp

primary
#6B156B
secondary
#3AA23A
accent
#EA3E3E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6B156B

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

Preview Lab → · Contrast checker → · Palette generator →

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