#4B1F92#4B1F92

#4B1F92 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.173 H 293.7°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#4B1F92
RGBrgb(75, 31, 146)
HSLhsl(263, 65%, 35%)
HSVhsv(263, 79%, 57%)
CMYKcmyk(48.6%, 78.8%, 0%, 42.7%)
CIE-LABlab(25.41, 45.77, -55.19)
CIE-LCHlch(25.41, 71.70, 309.67°)
OKLaboklab(37.78% 0.0696 -0.1583)
OKLCHoklch(37.78% 0.173 293.7)
XYZxyz(8.5785, 4.5509, 27.6150)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1F92 #66921F
analogous
#1F2C92 #4B1F92 #851F92
triadic
#4B1F92 #924B1F #1F924B
tetradic
#4B1F92 #921F2C #66921F #1F9285
square
#4B1F92 #921F2C #66921F #1F9285
split-complementary
#4B1F92 #92851F #2C921F
monochromatic
#170A2D #311460 #4B1F92 #652AC4 #8651DA

Accessibility & contrast

On white

10.99
#4B1F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4B1F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1F92
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1F92#FFFFFF#000000##FFFFFF
##4B1F921.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003A90
Tritanopia (blue-blind)
#353F58
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4b1f92;
/* rgb */ color: rgb(75, 31, 146);
/* oklch */ color: oklch(37.8% 0.173 293.7);
Tailwind
colors: {
  custom: {
    50: '#8560b3',
    500: '#4b1f92',
    950: '#000000',
  },
}
SCSS
$custom: #4b1f92;
$custom-light: #8560b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1f92",
  "rgb": {
    "r": 75,
    "g": 31,
    "b": 146
  },
  "hsl": {
    "h": 262.957,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37778,
    "c": 0.17297,
    "h": 293.7
  },
  "luminance": 0.04551
}

Semantic roles & 50–950 ramp

primary
#4B1F92
secondary
#93BD50
accent
#E840A8
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B1F92

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

Preview Lab → · Contrast checker → · Palette generator →

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