#6C148D#6C148D

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

Color values

HEX#6C148D
RGBrgb(108, 20, 141)
HSLhsl(284, 75%, 32%)
HSVhsv(284, 86%, 55%)
CMYKcmyk(23.4%, 85.8%, 0%, 44.7%)
CIE-LABlab(28.41, 54.00, -47.01)
CIE-LCHlch(28.41, 71.60, 318.96°)
OKLaboklab(40.74% 0.1283 -0.133)
OKLCHoklch(40.74% 0.185 314)
XYZxyz(11.2414, 5.6119, 25.6852)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C148D #358D14
analogous
#2F148D #6C148D #8D1472
triadic
#6C148D #8D6C14 #148D6C
tetradic
#6C148D #8D2F14 #358D14 #14728D
square
#6C148D #8D2F14 #358D14 #14728D
split-complementary
#6C148D #728D14 #148D2F
monochromatic
#1A0522 #430C57 #6C148D #951CC3 #B439E3

Accessibility & contrast

On white

9.89
#6C148D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C148D
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C148D#FFFFFF#000000##FFFFFF
##6C148D1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#01458B
Tritanopia (blue-blind)
#693453
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6c148d;
/* rgb */ color: rgb(108, 20, 141);
/* oklch */ color: oklch(40.7% 0.185 314.0);
Tailwind
colors: {
  custom: {
    50: '#9b60af',
    500: '#6c148d',
    950: '#000000',
  },
}
SCSS
$custom: #6c148d;
$custom-light: #9b60af;
$custom-dark: #000000;
JSON
{
  "hex": "#6c148d",
  "rgb": {
    "r": 108,
    "g": 20,
    "b": 141
  },
  "hsl": {
    "h": 283.636,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40742,
    "c": 0.18485,
    "h": 314
  },
  "luminance": 0.05612
}

Semantic roles & 50–950 ramp

primary
#6C148D
secondary
#60C13C
accent
#F23669
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6C148D

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

Preview Lab → · Contrast checker → · Palette generator →

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