#6C148E#6C148E

#6C148E is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.8% C 0.186 H 313.6°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#6C148E
RGBrgb(108, 20, 142)
HSLhsl(283, 75%, 32%)
HSVhsv(283, 86%, 56%)
CMYKcmyk(23.9%, 85.9%, 0%, 44.3%)
CIE-LABlab(28.49, 54.21, -47.50)
CIE-LCHlch(28.49, 72.07, 318.77°)
OKLaboklab(40.82% 0.1281 -0.1345)
OKLCHoklch(40.82% 0.186 313.6)
XYZxyz(11.3161, 5.6418, 26.0788)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C148E #368E14
analogous
#2F148E #6C148E #8E1473
triadic
#6C148E #8E6C14 #148E6C
tetradic
#6C148E #8E2F14 #368E14 #14738E
square
#6C148E #8E2F14 #368E14 #14738E
split-complementary
#6C148E #738E14 #148E2F
monochromatic
#1A0523 #430C58 #6C148E #951CC4 #B439E3

Accessibility & contrast

On white

9.87
#6C148E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C148E
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C148E#FFFFFF#000000##FFFFFF
##6C148E1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#683454
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6c148e;
/* rgb */ color: rgb(108, 20, 142);
/* oklch */ color: oklch(40.8% 0.186 313.6);
Tailwind
colors: {
  custom: {
    50: '#9b60b0',
    500: '#6c148e',
    950: '#000000',
  },
}
SCSS
$custom: #6c148e;
$custom-light: #9b60b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c148e",
  "rgb": {
    "r": 108,
    "g": 20,
    "b": 142
  },
  "hsl": {
    "h": 283.279,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40822,
    "c": 0.18571,
    "h": 313.6
  },
  "luminance": 0.05641
}

Semantic roles & 50–950 ramp

primary
#6C148E
secondary
#61C23C
accent
#F2366A
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6C148E

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

Preview Lab → · Contrast checker → · Palette generator →

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