#6B146A#6B146A

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

Color values

HEX#6B146A
RGBrgb(107, 20, 106)
HSLhsl(301, 69%, 25%)
HSVhsv(301, 81%, 42%)
CMYKcmyk(0%, 81.3%, 0.9%, 58%)
CIE-LABlab(25.77, 47.15, -29.09)
CIE-LCHlch(25.77, 55.41, 328.33°)
OKLaboklab(38.06% 0.1322 -0.0806)
OKLCHoklch(38.06% 0.155 328.6)
XYZxyz(8.9150, 4.6674, 14.0642)
Luminance0.0467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B146A #146B15
analogous
#41146B #6B146A #6B143E
triadic
#6B146A #6A6B14 #146A6B
tetradic
#6B146A #6B4114 #146B15 #143E6B
square
#6B146A #6B4114 #146B15 #143E6B
split-complementary
#6B146A #3E6B14 #146B41
monochromatic
#1A051A #370A37 #6B146A #9F1E9D #D227D0

Accessibility & contrast

On white

10.86
#6B146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#6B146A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B146A
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B146A#FFFFFF#000000##FFFFFF
##6B146A1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b146a;
/* rgb */ color: rgb(107, 20, 106);
/* oklch */ color: oklch(38.1% 0.155 328.6);
Tailwind
colors: {
  custom: {
    50: '#995e95',
    500: '#6b146a',
    950: '#000000',
  },
}
SCSS
$custom: #6b146a;
$custom-light: #995e95;
$custom-dark: #000000;
JSON
{
  "hex": "#6b146a",
  "rgb": {
    "r": 107,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 300.69,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.3806,
    "c": 0.1548,
    "h": 328.6
  },
  "luminance": 0.04667
}

Semantic roles & 50–950 ramp

primary
#6B146A
secondary
#39A23A
accent
#EB3E3C
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6B146A

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

Preview Lab → · Contrast checker → · Palette generator →

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