#C131B1#C131B1

#C131B1 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.0% C 0.223 H 333.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#C131B1
RGBrgb(193, 49, 177)
HSLhsl(307, 60%, 47%)
HSVhsv(307, 75%, 76%)
CMYKcmyk(0%, 74.6%, 8.3%, 24.3%)
CIE-LABlab(47.89, 68.87, -36.77)
CIE-LCHlch(47.89, 78.07, 331.90°)
OKLaboklab(58.03% 0.1989 -0.101)
OKLCHoklch(58.03% 0.223 333.1)
XYZxyz(31.0266, 16.7110, 43.1779)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C131B1 #31C141
analogous
#8931C1 #C131B1 #C13169
triadic
#C131B1 #B1C131 #31B1C1
tetradic
#C131B1 #C18931 #31C141 #3169C1
square
#C131B1 #C18931 #31C141 #3169C1
split-complementary
#C131B1 #69C131 #31C189
monochromatic
#5F1857 #902584 #C131B1 #D55AC7 #E28BD8

Accessibility & contrast

On white

4.84
#C131B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#C131B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C131B1
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C131B1#FFFFFF#000000##FFFFFF
##C131B11.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A65B4
Deuteranopia (green-blind)
#6279AE
Tritanopia (blue-blind)
#CA406E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c131b1;
/* rgb */ color: rgb(193, 49, 177);
/* oklch */ color: oklch(58.0% 0.223 333.1);
Tailwind
colors: {
  custom: {
    50: '#d878c9',
    500: '#c131b1',
    950: '#000000',
  },
}
SCSS
$custom: #c131b1;
$custom-light: #d878c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c131b1",
  "rgb": {
    "r": 193,
    "g": 49,
    "b": 177
  },
  "hsl": {
    "h": 306.667,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.58034,
    "c": 0.22301,
    "h": 333.1
  },
  "luminance": 0.16708
}

Semantic roles & 50–950 ramp

primary
#C131B1
secondary
#82CC8A
accent
#E35745
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C131B1

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

Preview Lab → · Contrast checker → · Palette generator →

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