#B3319F#B3319F

#B3319F is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.0% C 0.203 H 335.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B3319F
RGBrgb(179, 49, 159)
HSLhsl(309, 57%, 45%)
HSVhsv(309, 73%, 70%)
CMYKcmyk(0%, 72.6%, 11.2%, 29.8%)
CIE-LABlab(44.64, 62.97, -31.38)
CIE-LCHlch(44.64, 70.36, 333.51°)
OKLaboklab(54.95% 0.1836 -0.0857)
OKLCHoklch(54.95% 0.203 335)
XYZxyz(25.9470, 14.2858, 34.1851)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3319F #31B345
analogous
#8631B3 #B3319F #B3315E
triadic
#B3319F #9FB331 #319FB3
tetradic
#B3319F #B38631 #31B345 #315EB3
square
#B3319F #B38631 #31B345 #315EB3
split-complementary
#B3319F #5EB331 #31B386
monochromatic
#53174A #832474 #B3319F #D052BC #DD82CF

Accessibility & contrast

On white

5.44
#B3319F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B3319F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3319F
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3319F#FFFFFF#000000##FFFFFF
##B3319F1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305DA2
Deuteranopia (green-blind)
#5E709C
Tritanopia (blue-blind)
#BC3B64
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b3319f;
/* rgb */ color: rgb(179, 49, 159);
/* oklch */ color: oklch(55.0% 0.203 335.0);
Tailwind
colors: {
  custom: {
    50: '#cd76bb',
    500: '#b3319f',
    950: '#000000',
  },
}
SCSS
$custom: #b3319f;
$custom-light: #cd76bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b3319f",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 309.231,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54953,
    "c": 0.20265,
    "h": 335
  },
  "luminance": 0.14284
}

Semantic roles & 50–950 ramp

primary
#B3319F
secondary
#7AC686
accent
#E05F48
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B3319F

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

Preview Lab → · Contrast checker → · Palette generator →

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