#4B1FBC#4B1FBC

#4B1FBC is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 42.0% C 0.219 H 284.7°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#4B1FBC
RGBrgb(75, 31, 188)
HSLhsl(257, 72%, 43%)
HSVhsv(257, 84%, 74%)
CMYKcmyk(60.1%, 83.5%, 0%, 26.3%)
CIE-LABlab(29.68, 57.15, -73.55)
CIE-LCHlch(29.68, 93.15, 307.85°)
OKLaboklab(42% 0.0555 -0.212)
OKLCHoklch(42% 0.219 284.7)
XYZxyz(12.4660, 6.1059, 48.0889)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1FBC #90BC1F
analogous
#1F42BC #4B1FBC #991FBC
triadic
#4B1FBC #BC4B1F #1FBC4B
tetradic
#4B1FBC #BC1F42 #90BC1F #1FBC99
square
#4B1FBC #BC1F42 #90BC1F #1FBC99
split-complementary
#4B1FBC #BC991F #42BC1F
monochromatic
#210E53 #361687 #4B1FBC #683ADE #906EE7

Accessibility & contrast

On white

9.45
#4B1FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4B1FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1FBC
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1FBC#FFFFFF#000000##FFFFFF
##4B1FBC1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC0
Deuteranopia (green-blind)
#0041B9
Tritanopia (blue-blind)
#005170
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4b1fbc;
/* rgb */ color: rgb(75, 31, 188);
/* oklch */ color: oklch(42.0% 0.219 284.7);
Tailwind
colors: {
  custom: {
    50: '#8c63d2',
    500: '#4b1fbc',
    950: '#000000',
  },
}
SCSS
$custom: #4b1fbc;
$custom-light: #8c63d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1fbc",
  "rgb": {
    "r": 75,
    "g": 31,
    "b": 188
  },
  "hsl": {
    "h": 256.815,
    "s": 71.689,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42003,
    "c": 0.21914,
    "h": 284.7
  },
  "luminance": 0.06107
}

Semantic roles & 50–950 ramp

primary
#4B1FBC
secondary
#B1CD69
accent
#EE39BC
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4B1FBC

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

Preview Lab → · Contrast checker → · Palette generator →

#4B1FBC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva