#4B1C7A#4B1C7A

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

Color values

HEX#4B1C7A
RGBrgb(75, 28, 122)
HSLhsl(270, 63%, 29%)
HSVhsv(270, 77%, 48%)
CMYKcmyk(38.5%, 77%, 0%, 52.2%)
CIE-LABlab(22.76, 40.78, -44.47)
CIE-LCHlch(22.76, 60.34, 312.52°)
OKLaboklab(35.25% 0.0788 -0.1269)
OKLCHoklch(35.25% 0.149 301.8)
XYZxyz(6.8289, 3.7315, 18.7691)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1C7A #4B7A1C
analogous
#1C1C7A #4B1C7A #7A1C7A
triadic
#4B1C7A #7A4B1C #1C7A4B
tetradic
#4B1C7A #7A1C1C #4B7A1C #1C7A7A
square
#4B1C7A #7A1C1C #4B7A1C #1C7A7A
split-complementary
#4B1C7A #7A7A1C #1C7A1C
monochromatic
#0F0619 #2C1148 #4B1C7A #6A27AC #883ED3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B1C7A#FFFFFF#000000##FFFFFF
##4B1C7A1.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)
#00367D
Deuteranopia (green-blind)
#003678
Tritanopia (blue-blind)
#413449
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4b1c7a;
/* rgb */ color: rgb(75, 28, 122);
/* oklch */ color: oklch(35.2% 0.149 301.8);
Tailwind
colors: {
  custom: {
    50: '#825da1',
    500: '#4b1c7a',
    950: '#000000',
  },
}
SCSS
$custom: #4b1c7a;
$custom-light: #825da1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1c7a",
  "rgb": {
    "r": 75,
    "g": 28,
    "b": 122
  },
  "hsl": {
    "h": 270,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35249,
    "c": 0.14933,
    "h": 301.8
  },
  "luminance": 0.03732
}

Semantic roles & 50–950 ramp

primary
#4B1C7A
secondary
#79AE44
accent
#E64294
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #4B1C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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