#4B1FA5#4B1FA5

#4B1FA5 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.194 H 289.1°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#4B1FA5
RGBrgb(75, 31, 165)
HSLhsl(260, 68%, 38%)
HSVhsv(260, 81%, 65%)
CMYKcmyk(54.5%, 81.2%, 0%, 35.3%)
CIE-LABlab(27.27, 50.93, -63.76)
CIE-LCHlch(27.27, 81.60, 308.62°)
OKLaboklab(39.63% 0.0635 -0.1834)
OKLCHoklch(39.63% 0.194 289.1)
XYZxyz(10.1812, 5.1919, 36.0557)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1FA5 #79A51F
analogous
#1F36A5 #4B1FA5 #8E1FA5
triadic
#4B1FA5 #A54B1F #1FA54B
tetradic
#4B1FA5 #A51F36 #79A51F #1FA58E
square
#4B1FA5 #A51F36 #79A51F #1FA58E
split-complementary
#4B1FA5 #A58E1F #36A51F
monochromatic
#1C0C3E #341571 #4B1FA5 #632AD7 #895EE1

Accessibility & contrast

On white

10.30
#4B1FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4B1FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1FA5
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1FA5#FFFFFF#000000##FFFFFF
##4B1FA51.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A9
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#274763
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4b1fa5;
/* rgb */ color: rgb(75, 31, 165);
/* oklch */ color: oklch(39.6% 0.194 289.1);
Tailwind
colors: {
  custom: {
    50: '#8861c1',
    500: '#4b1fa5',
    950: '#000000',
  },
}
SCSS
$custom: #4b1fa5;
$custom-light: #8861c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1fa5",
  "rgb": {
    "r": 75,
    "g": 31,
    "b": 165
  },
  "hsl": {
    "h": 259.701,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39633,
    "c": 0.19409,
    "h": 289.1
  },
  "luminance": 0.05192
}

Semantic roles & 50–950 ramp

primary
#4B1FA5
secondary
#A2C55B
accent
#EB3DB2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0512
muted
#7D7A81

Preview Lab

Preview with #4B1FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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