#4B1E76#4B1E76

#4B1E76 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.142 H 303.0°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#4B1E76
RGBrgb(75, 30, 118)
HSLhsl(271, 59%, 29%)
HSVhsv(271, 75%, 46%)
CMYKcmyk(36.4%, 74.6%, 0%, 53.7%)
CIE-LABlab(22.77, 38.78, -41.92)
CIE-LCHlch(22.77, 57.10, 312.78°)
OKLaboklab(35.15% 0.0776 -0.1194)
OKLCHoklch(35.15% 0.142 303)
XYZxyz(6.6352, 3.7324, 17.5069)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1E76 #49761E
analogous
#1F1E76 #4B1E76 #761E75
triadic
#4B1E76 #764B1E #1E764B
tetradic
#4B1E76 #761F1E #49761E #1E7576
square
#4B1E76 #761F1E #49761E #1E7576
split-complementary
#4B1E76 #75761E #1E761F
monochromatic
#100618 #2C1245 #4B1E76 #6A2AA7 #8940CE

Accessibility & contrast

On white

12.02
#4B1E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#4B1E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1E76
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1E76#FFFFFF#000000##FFFFFF
##4B1E761.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#003674
Tritanopia (blue-blind)
#423348
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4b1e76;
/* rgb */ color: rgb(75, 30, 118);
/* oklch */ color: oklch(35.1% 0.142 303.0);
Tailwind
colors: {
  custom: {
    50: '#825e9e',
    500: '#4b1e76',
    950: '#000000',
  },
}
SCSS
$custom: #4b1e76;
$custom-light: #825e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1e76",
  "rgb": {
    "r": 75,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 270.682,
    "s": 59.459,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35146,
    "c": 0.14235,
    "h": 303
  },
  "luminance": 0.03732
}

Semantic roles & 50–950 ramp

primary
#4B1E76
secondary
#77AA46
accent
#E34592
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4B1E76

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

Preview Lab → · Contrast checker → · Palette generator →

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