#4B1EA7#4B1EA7

#4B1EA7 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.7% C 0.197 H 288.8°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#4B1EA7
RGBrgb(75, 30, 167)
HSLhsl(260, 70%, 39%)
HSVhsv(260, 82%, 65%)
CMYKcmyk(55.1%, 82%, 0%, 34.5%)
CIE-LABlab(27.34, 51.89, -64.87)
CIE-LCHlch(27.34, 83.07, 308.66°)
OKLaboklab(39.74% 0.0635 -0.1866)
OKLCHoklch(39.74% 0.197 288.8)
XYZxyz(10.3389, 5.2139, 37.0133)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1EA7 #7AA71E
analogous
#1E35A7 #4B1EA7 #8F1EA7
triadic
#4B1EA7 #A74B1E #1EA74B
tetradic
#4B1EA7 #A71E35 #7AA71E #1EA78F
square
#4B1EA7 #A71E35 #7AA71E #1EA78F
split-complementary
#4B1EA7 #A78F1E #35A71E
monochromatic
#1C0B3F #341573 #4B1EA7 #632AD9 #895DE2

Accessibility & contrast

On white

10.28
#4B1EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1EA7
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1EA7#FFFFFF#000000##FFFFFF
##4B1EA71.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AB
Deuteranopia (green-blind)
#003DA5
Tritanopia (blue-blind)
#254764
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b1ea7;
/* rgb */ color: rgb(75, 30, 167);
/* oklch */ color: oklch(39.7% 0.197 288.8);
Tailwind
colors: {
  custom: {
    50: '#8861c2',
    500: '#4b1ea7',
    950: '#000000',
  },
}
SCSS
$custom: #4b1ea7;
$custom-light: #8861c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1ea7",
  "rgb": {
    "r": 75,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 259.708,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39737,
    "c": 0.19713,
    "h": 288.8
  },
  "luminance": 0.05214
}

Semantic roles & 50–950 ramp

primary
#4B1EA7
secondary
#A3C65B
accent
#EC3BB2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0513
muted
#7D7A82

Preview Lab

Preview with #4B1EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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