#6C148F#6C148F

#6C148F is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.9% C 0.187 H 313.2°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#6C148F
RGBrgb(108, 20, 143)
HSLhsl(283, 75%, 32%)
HSVhsv(283, 86%, 56%)
CMYKcmyk(24.5%, 86%, 0%, 43.9%)
CIE-LABlab(28.57, 54.41, -47.99)
CIE-LCHlch(28.57, 72.55, 318.59°)
OKLaboklab(40.9% 0.1278 -0.1359)
OKLCHoklch(40.9% 0.187 313.2)
XYZxyz(11.3915, 5.6720, 26.4760)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C148F #378F14
analogous
#2F148F #6C148F #8F1475
triadic
#6C148F #8F6C14 #148F6C
tetradic
#6C148F #8F2F14 #378F14 #14758F
square
#6C148F #8F2F14 #378F14 #14758F
split-complementary
#6C148F #758F14 #148F2F
monochromatic
#1B0524 #430C59 #6C148F #951CC5 #B33AE3

Accessibility & contrast

On white

9.84
#6C148F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6C148F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C148F
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C148F#FFFFFF#000000##FFFFFF
##6C148F1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#683554
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6c148f;
/* rgb */ color: rgb(108, 20, 143);
/* oklch */ color: oklch(40.9% 0.187 313.2);
Tailwind
colors: {
  custom: {
    50: '#9b60b1',
    500: '#6c148f',
    950: '#000000',
  },
}
SCSS
$custom: #6c148f;
$custom-light: #9b60b1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c148f",
  "rgb": {
    "r": 108,
    "g": 20,
    "b": 143
  },
  "hsl": {
    "h": 282.927,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40902,
    "c": 0.18659,
    "h": 313.2
  },
  "luminance": 0.05672
}

Semantic roles & 50–950 ramp

primary
#6C148F
secondary
#62C33C
accent
#F2366B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0511
muted
#7E7A80

Preview Lab

Preview with #6C148F

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

Preview Lab → · Contrast checker → · Palette generator →

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