#C031B3#C031B3

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

Color values

HEX#C031B3
RGBrgb(192, 49, 179)
HSLhsl(305, 59%, 47%)
HSVhsv(305, 74%, 75%)
CMYKcmyk(0%, 74.5%, 6.8%, 24.7%)
CIE-LABlab(47.83, 68.95, -38.06)
CIE-LCHlch(47.83, 78.76, 331.10°)
OKLaboklab(57.99% 0.1979 -0.1047)
OKLCHoklch(57.99% 0.224 332.1)
XYZxyz(30.9733, 16.6603, 44.2236)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C031B3 #31C03E
analogous
#8631C0 #C031B3 #C0316B
triadic
#C031B3 #B3C031 #31B3C0
tetradic
#C031B3 #C08631 #31C03E #316BC0
square
#C031B3 #C08631 #31C03E #316BC0
split-complementary
#C031B3 #6BC031 #31C086
monochromatic
#5E1858 #8F2586 #C031B3 #D559CA #E18AD9

Accessibility & contrast

On white

4.85
#C031B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#C031B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C031B3
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C031B3#FFFFFF#000000##FFFFFF
##C031B31.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2765B7
Deuteranopia (green-blind)
#6079B0
Tritanopia (blue-blind)
#C84270
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c031b3;
/* rgb */ color: rgb(192, 49, 179);
/* oklch */ color: oklch(58.0% 0.224 332.1);
Tailwind
colors: {
  custom: {
    50: '#d778ca',
    500: '#c031b3',
    950: '#000000',
  },
}
SCSS
$custom: #c031b3;
$custom-light: #d778ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c031b3",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 305.455,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57989,
    "c": 0.22392,
    "h": 332.1
  },
  "luminance": 0.16658
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C031B3

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

Preview Lab → · Contrast checker → · Palette generator →

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