#C131B3#C131B3

#C131B3 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.1% C 0.224 H 332.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#C131B3
RGBrgb(193, 49, 179)
HSLhsl(306, 60%, 47%)
HSVhsv(306, 75%, 76%)
CMYKcmyk(0%, 74.6%, 7.3%, 24.3%)
CIE-LABlab(48.00, 69.17, -37.79)
CIE-LCHlch(48.00, 78.82, 331.35°)
OKLaboklab(58.14% 0.1989 -0.1039)
OKLCHoklch(58.14% 0.224 332.4)
XYZxyz(31.2274, 16.7914, 44.2355)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C131B3 #31C13F
analogous
#8731C1 #C131B3 #C1316B
triadic
#C131B3 #B3C131 #31B3C1
tetradic
#C131B3 #C18731 #31C13F #316BC1
square
#C131B3 #C18731 #31C13F #316BC1
split-complementary
#C131B3 #6BC131 #31C187
monochromatic
#5F1858 #902586 #C131B3 #D55AC9 #E28BD9

Accessibility & contrast

On white

4.82
#C131B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#C131B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C131B3
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C131B3#FFFFFF#000000##FFFFFF
##C131B31.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2865B7
Deuteranopia (green-blind)
#6179B0
Tritanopia (blue-blind)
#C94170
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c131b3;
/* rgb */ color: rgb(193, 49, 179);
/* oklch */ color: oklch(58.1% 0.224 332.4);
Tailwind
colors: {
  custom: {
    50: '#d878ca',
    500: '#c131b3',
    950: '#000000',
  },
}
SCSS
$custom: #c131b3;
$custom-light: #d878ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c131b3",
  "rgb": {
    "r": 193,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 305.833,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.58141,
    "c": 0.22443,
    "h": 332.4
  },
  "luminance": 0.16789
}

Semantic roles & 50–950 ramp

primary
#C131B3
secondary
#82CC89
accent
#E35445
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C131B3

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

Preview Lab → · Contrast checker → · Palette generator →

#C131B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva