#4B1F82#4B1F82

#4B1F82 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.155 H 298.5°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#4B1F82
RGBrgb(75, 31, 130)
HSLhsl(267, 61%, 32%)
HSVhsv(267, 76%, 51%)
CMYKcmyk(42.3%, 76.2%, 0%, 49%)
CIE-LABlab(23.96, 41.46, -47.59)
CIE-LCHlch(23.96, 63.12, 311.06°)
OKLaboklab(36.31% 0.0739 -0.136)
OKLCHoklch(36.31% 0.155 298.5)
XYZxyz(7.4199, 4.0874, 21.5128)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1F82 #56821F
analogous
#1F2482 #4B1F82 #7D1F82
triadic
#4B1F82 #824B1F #1F824B
tetradic
#4B1F82 #821F24 #56821F #1F827D
square
#4B1F82 #821F24 #56821F #1F827D
split-complementary
#4B1F82 #827D1F #24821F
monochromatic
#12071F #2E1351 #4B1F82 #682BB3 #8648D3

Accessibility & contrast

On white

11.55
#4B1F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1F82
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1F82#FFFFFF#000000##FFFFFF
##4B1F821.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003880
Tritanopia (blue-blind)
#3D384F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4b1f82;
/* rgb */ color: rgb(75, 31, 130);
/* oklch */ color: oklch(36.3% 0.155 298.5);
Tailwind
colors: {
  custom: {
    50: '#835fa7',
    500: '#4b1f82',
    950: '#000000',
  },
}
SCSS
$custom: #4b1f82;
$custom-light: #835fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1f82",
  "rgb": {
    "r": 75,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 266.667,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36307,
    "c": 0.15484,
    "h": 298.5
  },
  "luminance": 0.04088
}

Semantic roles & 50–950 ramp

primary
#4B1F82
secondary
#84B548
accent
#E5439D
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B1F82

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

Preview Lab → · Contrast checker → · Palette generator →

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