#6B146E#6B146E

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

Color values

HEX#6B146E
RGBrgb(107, 20, 110)
HSLhsl(298, 69%, 25%)
HSVhsv(298, 82%, 43%)
CMYKcmyk(2.7%, 81.8%, 0%, 56.9%)
CIE-LABlab(26.02, 47.86, -31.27)
CIE-LCHlch(26.02, 57.17, 326.84°)
OKLaboklab(38.32% 0.132 -0.087)
OKLCHoklch(38.32% 0.158 326.6)
XYZxyz(9.1279, 4.7525, 15.1854)
Luminance0.0475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B146E #176E14
analogous
#3E146E #6B146E #6E1444
triadic
#6B146E #6E6B14 #146E6B
tetradic
#6B146E #6E3E14 #176E14 #14446E
square
#6B146E #6E3E14 #176E14 #14446E
split-complementary
#6B146E #446E14 #146E3E
monochromatic
#19051A #390B3A #6B146E #9D1DA2 #D027D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B146E#FFFFFF#000000##FFFFFF
##6B146E1.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)
#003770
Deuteranopia (green-blind)
#2B416C
Tritanopia (blue-blind)
#6E2441
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6b146e;
/* rgb */ color: rgb(107, 20, 110);
/* oklch */ color: oklch(38.3% 0.158 326.6);
Tailwind
colors: {
  custom: {
    50: '#995e98',
    500: '#6b146e',
    950: '#000000',
  },
}
SCSS
$custom: #6b146e;
$custom-light: #995e98;
$custom-dark: #000000;
JSON
{
  "hex": "#6b146e",
  "rgb": {
    "r": 107,
    "g": 20,
    "b": 110
  },
  "hsl": {
    "h": 298,
    "s": 69.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.38321,
    "c": 0.15806,
    "h": 326.6
  },
  "luminance": 0.04752
}

Semantic roles & 50–950 ramp

primary
#6B146E
secondary
#3DA539
accent
#EC3C42
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6B146E

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

Preview Lab → · Contrast checker → · Palette generator →

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