#4B1483#4B1483

#4B1483 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.3% C 0.167 H 299.7°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#4B1483
RGBrgb(75, 20, 131)
HSLhsl(270, 74%, 30%)
HSVhsv(270, 85%, 51%)
CMYKcmyk(42.7%, 84.7%, 0%, 48.6%)
CIE-LABlab(22.43, 46.40, -50.73)
CIE-LCHlch(22.43, 68.75, 312.45°)
OKLaboklab(35.26% 0.0829 -0.1452)
OKLCHoklch(35.26% 0.167 299.7)
XYZxyz(7.2475, 3.6348, 21.7881)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1483 #4C8314
analogous
#141483 #4B1483 #831483
triadic
#4B1483 #834B14 #14834B
tetradic
#4B1483 #831414 #4C8314 #148383
square
#4B1483 #831414 #4C8314 #148383
split-complementary
#4B1483 #838314 #148314
monochromatic
#0F041B #2D0C4E #4B1483 #691CB8 #8832E0

Accessibility & contrast

On white

12.16
#4B1483 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#4B1483 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1483
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1483#FFFFFF#000000##FFFFFF
##4B14831.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003586
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#3D344D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4b1483;
/* rgb */ color: rgb(75, 20, 131);
/* oklch */ color: oklch(35.3% 0.167 299.7);
Tailwind
colors: {
  custom: {
    50: '#845aa8',
    500: '#4b1483',
    950: '#000000',
  },
}
SCSS
$custom: #4b1483;
$custom-light: #845aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1483",
  "rgb": {
    "r": 75,
    "g": 20,
    "b": 131
  },
  "hsl": {
    "h": 269.73,
    "s": 73.51,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35264,
    "c": 0.16719,
    "h": 299.7
  },
  "luminance": 0.03635
}

Semantic roles & 50–950 ramp

primary
#4B1483
secondary
#7AB83B
accent
#F03895
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #4B1483

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

Preview Lab → · Contrast checker → · Palette generator →

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