#4B1C7D#4B1C7D

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

Color values

HEX#4B1C7D
RGBrgb(75, 28, 125)
HSLhsl(269, 63%, 30%)
HSVhsv(269, 78%, 49%)
CMYKcmyk(40%, 77.6%, 0%, 51%)
CIE-LABlab(23.02, 41.56, -45.96)
CIE-LCHlch(23.02, 61.96, 312.12°)
OKLaboklab(35.51% 0.0781 -0.1312)
OKLCHoklch(35.51% 0.153 300.7)
XYZxyz(7.0177, 3.8070, 19.7632)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1C7D #4E7D1C
analogous
#1C1E7D #4B1C7D #7B1C7D
triadic
#4B1C7D #7D4B1C #1C7D4B
tetradic
#4B1C7D #7D1C1E #4E7D1C #1C7D7B
square
#4B1C7D #7D1C1E #4E7D1C #1C7D7B
split-complementary
#4B1C7D #7D7B1C #1E7D1C
monochromatic
#0F0619 #2D114B #4B1C7D #6927AF #873FD4

Accessibility & contrast

On white

11.92
#4B1C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#4B1C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1C7D
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1C7D#FFFFFF#000000##FFFFFF
##4B1C7D1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#00367B
Tritanopia (blue-blind)
#40354B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4b1c7d;
/* rgb */ color: rgb(75, 28, 125);
/* oklch */ color: oklch(35.5% 0.153 300.7);
Tailwind
colors: {
  custom: {
    50: '#835da3',
    500: '#4b1c7d',
    950: '#000000',
  },
}
SCSS
$custom: #4b1c7d;
$custom-light: #835da3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1c7d",
  "rgb": {
    "r": 75,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 269.072,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.35512,
    "c": 0.15268,
    "h": 300.7
  },
  "luminance": 0.03807
}

Semantic roles & 50–950 ramp

primary
#4B1C7D
secondary
#7CB144
accent
#E64196
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #4B1C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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