#6B146F#6B146F

#6B146F is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.4% C 0.159 H 326.1°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#6B146F
RGBrgb(107, 20, 111)
HSLhsl(297, 69%, 26%)
HSVhsv(297, 82%, 44%)
CMYKcmyk(3.6%, 82%, 0%, 56.5%)
CIE-LABlab(26.08, 48.04, -31.81)
CIE-LCHlch(26.08, 57.62, 326.49°)
OKLaboklab(38.39% 0.1319 -0.0885)
OKLCHoklch(38.39% 0.159 326.1)
XYZxyz(9.1826, 4.7744, 15.4738)
Luminance0.0477 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B146F #186F14
analogous
#3D146F #6B146F #6F1445
triadic
#6B146F #6F6B14 #146F6B
tetradic
#6B146F #6F3D14 #186F14 #14456F
square
#6B146F #6F3D14 #186F14 #14456F
split-complementary
#6B146F #456F14 #146F3D
monochromatic
#19051A #390B3B #6B146F #9D1DA3 #CF27D7

Accessibility & contrast

On white

10.74
#6B146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B146F
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B146F#FFFFFF#000000##FFFFFF
##6B146F1.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b146f;
/* rgb */ color: rgb(107, 20, 111);
/* oklch */ color: oklch(38.4% 0.159 326.1);
Tailwind
colors: {
  custom: {
    50: '#995e99',
    500: '#6b146f',
    950: '#000000',
  },
}
SCSS
$custom: #6b146f;
$custom-light: #995e99;
$custom-dark: #000000;
JSON
{
  "hex": "#6b146f",
  "rgb": {
    "r": 107,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 297.363,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.38387,
    "c": 0.15888,
    "h": 326.1
  },
  "luminance": 0.04774
}

Semantic roles & 50–950 ramp

primary
#6B146F
secondary
#3EA639
accent
#EC3C43
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6B146F

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

Preview Lab → · Contrast checker → · Palette generator →

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