#6C148A#6C148A

#6C148A is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.5% C 0.182 H 315.1°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#6C148A
RGBrgb(108, 20, 138)
HSLhsl(285, 75%, 31%)
HSVhsv(285, 86%, 54%)
CMYKcmyk(21.7%, 85.5%, 0%, 45.9%)
CIE-LABlab(28.18, 53.40, -45.52)
CIE-LCHlch(28.18, 70.17, 319.55°)
OKLaboklab(40.51% 0.1291 -0.1287)
OKLCHoklch(40.51% 0.182 315.1)
XYZxyz(11.0212, 5.5239, 24.5255)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C148A #328A14
analogous
#31148A #6C148A #8A146D
triadic
#6C148A #8A6C14 #148A6C
tetradic
#6C148A #8A3114 #328A14 #146D8A
square
#6C148A #8A3114 #328A14 #146D8A
split-complementary
#6C148A #6D8A14 #148A31
monochromatic
#18051F #420C55 #6C148A #961CBF #B636E2

Accessibility & contrast

On white

9.98
#6C148A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6C148A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C148A
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C148A#FFFFFF#000000##FFFFFF
##6C148A1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#0A4588
Tritanopia (blue-blind)
#693251
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6c148a;
/* rgb */ color: rgb(108, 20, 138);
/* oklch */ color: oklch(40.5% 0.182 315.1);
Tailwind
colors: {
  custom: {
    50: '#9a5fad',
    500: '#6c148a',
    950: '#000000',
  },
}
SCSS
$custom: #6c148a;
$custom-light: #9a5fad;
$custom-dark: #000000;
JSON
{
  "hex": "#6c148a",
  "rgb": {
    "r": 108,
    "g": 20,
    "b": 138
  },
  "hsl": {
    "h": 284.746,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40506,
    "c": 0.18224,
    "h": 315.1
  },
  "luminance": 0.05523
}

Semantic roles & 50–950 ramp

primary
#6C148A
secondary
#5DBE3C
accent
#F13666
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6C148A

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

Preview Lab → · Contrast checker → · Palette generator →

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