#6B156C#6B156C

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

Color values

HEX#6B156C
RGBrgb(107, 21, 108)
HSLhsl(299, 67%, 25%)
HSVhsv(299, 81%, 42%)
CMYKcmyk(0.9%, 80.6%, 0%, 57.6%)
CIE-LABlab(26.00, 47.20, -30.02)
CIE-LCHlch(26.00, 55.93, 327.55°)
OKLaboklab(38.27% 0.1312 -0.0833)
OKLCHoklch(38.27% 0.155 327.6)
XYZxyz(9.0382, 4.7455, 14.6244)
Luminance0.0474 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B156C #166C15
analogous
#3F156C #6B156C #6C1542
triadic
#6B156C #6C6B15 #156C6B
tetradic
#6B156C #6C3F15 #166C15 #15426C
square
#6B156C #6C3F15 #166C15 #15426C
split-complementary
#6B156C #426C15 #156C3F
monochromatic
#19051A #380B39 #6B156C #9E1F9F #D129D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B156C#FFFFFF#000000##FFFFFF
##6B156C1.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)
#00376E
Deuteranopia (green-blind)
#2D416A
Tritanopia (blue-blind)
#6E2440
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6b156c;
/* rgb */ color: rgb(107, 21, 108);
/* oklch */ color: oklch(38.3% 0.155 327.6);
Tailwind
colors: {
  custom: {
    50: '#995e96',
    500: '#6b156c',
    950: '#000000',
  },
}
SCSS
$custom: #6b156c;
$custom-light: #995e96;
$custom-dark: #000000;
JSON
{
  "hex": "#6b156c",
  "rgb": {
    "r": 107,
    "g": 21,
    "b": 108
  },
  "hsl": {
    "h": 299.31,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.38265,
    "c": 0.15542,
    "h": 327.6
  },
  "luminance": 0.04745
}

Semantic roles & 50–950 ramp

primary
#6B156C
secondary
#3BA33A
accent
#EA3D3F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6B156C

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

Preview Lab → · Contrast checker → · Palette generator →

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