#4B1E7A#4B1E7A

#4B1E7A is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.147 H 301.5°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#4B1E7A
RGBrgb(75, 30, 122)
HSLhsl(269, 61%, 30%)
HSVhsv(269, 75%, 48%)
CMYKcmyk(38.5%, 75.4%, 0%, 52.2%)
CIE-LABlab(23.10, 39.82, -43.93)
CIE-LCHlch(23.10, 59.29, 312.20°)
OKLaboklab(35.49% 0.0768 -0.1253)
OKLCHoklch(35.49% 0.147 301.5)
XYZxyz(6.8779, 3.8295, 18.7854)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1E7A #4D7A1E
analogous
#1E1F7A #4B1E7A #791E7A
triadic
#4B1E7A #7A4B1E #1E7A4B
tetradic
#4B1E7A #7A1E1F #4D7A1E #1E7A79
square
#4B1E7A #7A1E1F #4D7A1E #1E7A79
split-complementary
#4B1E7A #7A791E #1F7A1E
monochromatic
#0F0619 #2D1249 #4B1E7A #692AAB #8842D0

Accessibility & contrast

On white

11.89
#4B1E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#4B1E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1E7A
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1E7A#FFFFFF#000000##FFFFFF
##4B1E7A1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377D
Deuteranopia (green-blind)
#003778
Tritanopia (blue-blind)
#41354A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4b1e7a;
/* rgb */ color: rgb(75, 30, 122);
/* oklch */ color: oklch(35.5% 0.147 301.5);
Tailwind
colors: {
  custom: {
    50: '#825ea1',
    500: '#4b1e7a',
    950: '#000000',
  },
}
SCSS
$custom: #4b1e7a;
$custom-light: #825ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1e7a",
  "rgb": {
    "r": 75,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 269.348,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35486,
    "c": 0.14691,
    "h": 301.5
  },
  "luminance": 0.0383
}

Semantic roles & 50–950 ramp

primary
#4B1E7A
secondary
#7BAE46
accent
#E44496
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4B1E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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