#6D148A#6D148A

#6D148A is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.7% C 0.183 H 315.6°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#6D148A
RGBrgb(109, 20, 138)
HSLhsl(285, 75%, 31%)
HSVhsv(285, 86%, 54%)
CMYKcmyk(21%, 85.5%, 0%, 45.9%)
CIE-LABlab(28.35, 53.57, -45.24)
CIE-LCHlch(28.35, 70.12, 319.82°)
OKLaboklab(40.66% 0.1304 -0.1278)
OKLCHoklch(40.66% 0.183 315.6)
XYZxyz(11.1435, 5.5869, 24.5312)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D148A #318A14
analogous
#32148A #6D148A #8A146C
triadic
#6D148A #8A6D14 #148A6D
tetradic
#6D148A #8A3214 #318A14 #146C8A
square
#6D148A #8A3214 #318A14 #146C8A
split-complementary
#6D148A #6C8A14 #148A32
monochromatic
#19051F #430C55 #6D148A #971CBF #B836E2

Accessibility & contrast

On white

9.92
#6D148A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6D148A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D148A
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D148A#FFFFFF#000000##FFFFFF
##6D148A1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#0E4588
Tritanopia (blue-blind)
#6B3251
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6d148a;
/* rgb */ color: rgb(109, 20, 138);
/* oklch */ color: oklch(40.7% 0.183 315.6);
Tailwind
colors: {
  custom: {
    50: '#9b60ad',
    500: '#6d148a',
    950: '#000000',
  },
}
SCSS
$custom: #6d148a;
$custom-light: #9b60ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6d148a",
  "rgb": {
    "r": 109,
    "g": 20,
    "b": 138
  },
  "hsl": {
    "h": 285.254,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40656,
    "c": 0.18258,
    "h": 315.6
  },
  "luminance": 0.05586
}

Semantic roles & 50–950 ramp

primary
#6D148A
secondary
#5CBE3C
accent
#F13664
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6D148A

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

Preview Lab → · Contrast checker → · Palette generator →

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