#B3319E#B3319E

#B3319E is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.9% C 0.202 H 335.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B3319E
RGBrgb(179, 49, 158)
HSLhsl(310, 57%, 45%)
HSVhsv(310, 73%, 70%)
CMYKcmyk(0%, 72.6%, 11.7%, 29.8%)
CIE-LABlab(44.59, 62.83, -30.86)
CIE-LCHlch(44.59, 70.00, 333.84°)
OKLaboklab(54.9% 0.1835 -0.0842)
OKLCHoklch(54.9% 0.202 335.3)
XYZxyz(25.8606, 14.2512, 33.7299)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3319E #31B346
analogous
#8731B3 #B3319E #B3315D
triadic
#B3319E #9EB331 #319EB3
tetradic
#B3319E #B38731 #31B346 #315DB3
square
#B3319E #B38731 #31B346 #315DB3
split-complementary
#B3319E #5DB331 #31B387
monochromatic
#531749 #832474 #B3319E #D052BB #DD82CE

Accessibility & contrast

On white

5.45
#B3319E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B3319E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3319E
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3319E#FFFFFF#000000##FFFFFF
##B3319E1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315DA1
Deuteranopia (green-blind)
#5F709B
Tritanopia (blue-blind)
#BC3B64
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b3319e;
/* rgb */ color: rgb(179, 49, 158);
/* oklch */ color: oklch(54.9% 0.202 335.3);
Tailwind
colors: {
  custom: {
    50: '#cd76bb',
    500: '#b3319e',
    950: '#000000',
  },
}
SCSS
$custom: #b3319e;
$custom-light: #cd76bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b3319e",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 309.692,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54902,
    "c": 0.20194,
    "h": 335.3
  },
  "luminance": 0.14249
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3319E

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

Preview Lab → · Contrast checker → · Palette generator →

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