#4B1F83#4B1F83

#4B1F83 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.156 H 298.2°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#4B1F83
RGBrgb(75, 31, 131)
HSLhsl(266, 62%, 32%)
HSVhsv(266, 76%, 51%)
CMYKcmyk(42.7%, 76.3%, 0%, 48.6%)
CIE-LABlab(24.05, 41.73, -48.08)
CIE-LCHlch(24.05, 63.66, 310.95°)
OKLaboklab(36.4% 0.0737 -0.1375)
OKLCHoklch(36.4% 0.156 298.2)
XYZxyz(7.4873, 4.1144, 21.8680)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1F83 #57831F
analogous
#1F2583 #4B1F83 #7D1F83
triadic
#4B1F83 #834B1F #1F834B
tetradic
#4B1F83 #831F25 #57831F #1F837D
square
#4B1F83 #831F25 #57831F #1F837D
split-complementary
#4B1F83 #837D1F #25831F
monochromatic
#120820 #2F1352 #4B1F83 #672BB4 #8649D4

Accessibility & contrast

On white

11.52
#4B1F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4B1F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1F83
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1F83#FFFFFF#000000##FFFFFF
##4B1F831.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003881
Tritanopia (blue-blind)
#3D394F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4b1f83;
/* rgb */ color: rgb(75, 31, 131);
/* oklch */ color: oklch(36.4% 0.156 298.2);
Tailwind
colors: {
  custom: {
    50: '#835fa8',
    500: '#4b1f83',
    950: '#000000',
  },
}
SCSS
$custom: #4b1f83;
$custom-light: #835fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1f83",
  "rgb": {
    "r": 75,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 266.4,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36396,
    "c": 0.15597,
    "h": 298.2
  },
  "luminance": 0.04115
}

Semantic roles & 50–950 ramp

primary
#4B1F83
secondary
#85B648
accent
#E5439E
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B1F83

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

Preview Lab → · Contrast checker → · Palette generator →

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