#6B146D#6B146D

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

Color values

HEX#6B146D
RGBrgb(107, 20, 109)
HSLhsl(299, 69%, 25%)
HSVhsv(299, 82%, 43%)
CMYKcmyk(1.8%, 81.7%, 0%, 57.3%)
CIE-LABlab(25.95, 47.68, -30.73)
CIE-LCHlch(25.95, 56.73, 327.20°)
OKLaboklab(38.26% 0.132 -0.0854)
OKLCHoklch(38.26% 0.157 327.1)
XYZxyz(9.0737, 4.7309, 14.9003)
Luminance0.0473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B146D #166D14
analogous
#3F146D #6B146D #6D1442
triadic
#6B146D #6D6B14 #146D6B
tetradic
#6B146D #6D3F14 #166D14 #14426D
square
#6B146D #6D3F14 #166D14 #14426D
split-complementary
#6B146D #426D14 #146D3F
monochromatic
#19051A #380B39 #6B146D #9E1DA1 #D127D4

Accessibility & contrast

On white

10.79
#6B146D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B146D
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B146D#FFFFFF#000000##FFFFFF
##6B146D1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366F
Deuteranopia (green-blind)
#2C416B
Tritanopia (blue-blind)
#6E2440
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6b146d;
/* rgb */ color: rgb(107, 20, 109);
/* oklch */ color: oklch(38.3% 0.157 327.1);
Tailwind
colors: {
  custom: {
    50: '#995e97',
    500: '#6b146d',
    950: '#000000',
  },
}
SCSS
$custom: #6b146d;
$custom-light: #995e97;
$custom-dark: #000000;
JSON
{
  "hex": "#6b146d",
  "rgb": {
    "r": 107,
    "g": 20,
    "b": 109
  },
  "hsl": {
    "h": 298.652,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.38255,
    "c": 0.15724,
    "h": 327.1
  },
  "luminance": 0.0473
}

Semantic roles & 50–950 ramp

primary
#6B146D
secondary
#3BA439
accent
#EC3C40
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6B146D

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

Preview Lab → · Contrast checker → · Palette generator →

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