#B4319F#B4319F

#B4319F is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.1% C 0.203 H 335.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B4319F
RGBrgb(180, 49, 159)
HSLhsl(310, 57%, 45%)
HSVhsv(310, 73%, 71%)
CMYKcmyk(0%, 72.8%, 11.7%, 29.4%)
CIE-LABlab(44.81, 63.21, -31.10)
CIE-LCHlch(44.81, 70.45, 333.80°)
OKLaboklab(55.11% 0.1846 -0.0849)
OKLCHoklch(55.11% 0.203 335.3)
XYZxyz(26.1790, 14.4054, 34.1959)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4319F #31B446
analogous
#8731B4 #B4319F #B4315E
triadic
#B4319F #9FB431 #319FB4
tetradic
#B4319F #B48731 #31B446 #315EB4
square
#B4319F #B48731 #31B446 #315EB4
split-complementary
#B4319F #5EB431 #31B487
monochromatic
#54174A #842475 #B4319F #D052BC #DD82CF

Accessibility & contrast

On white

5.41
#B4319F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B4319F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4319F
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4319F#FFFFFF#000000##FFFFFF
##B4319F1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315EA2
Deuteranopia (green-blind)
#5F719C
Tritanopia (blue-blind)
#BD3B64
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b4319f;
/* rgb */ color: rgb(180, 49, 159);
/* oklch */ color: oklch(55.1% 0.203 335.3);
Tailwind
colors: {
  custom: {
    50: '#ce76bb',
    500: '#b4319f',
    950: '#000000',
  },
}
SCSS
$custom: #b4319f;
$custom-light: #ce76bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b4319f",
  "rgb": {
    "r": 180,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 309.618,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55107,
    "c": 0.20321,
    "h": 335.3
  },
  "luminance": 0.14403
}

Semantic roles & 50–950 ramp

primary
#B4319F
secondary
#7BC687
accent
#E06047
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B4319F

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

Preview Lab → · Contrast checker → · Palette generator →

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