#4B104E#4B104E

#4B104E is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.5% C 0.119 H 325.9°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#4B104E
RGBrgb(75, 16, 78)
HSLhsl(297, 66%, 18%)
HSVhsv(297, 79%, 31%)
CMYKcmyk(3.8%, 79.5%, 0%, 69.4%)
CIE-LABlab(17.54, 35.81, -23.93)
CIE-LCHlch(17.54, 43.07, 326.25°)
OKLaboklab(30.47% 0.0982 -0.0665)
OKLCHoklch(30.47% 0.119 325.9)
XYZxyz(4.4620, 2.4168, 7.4377)
Luminance0.0242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B104E #134E10
analogous
#2C104E #4B104E #4E1032
triadic
#4B104E #4E4B10 #104E4B
tetradic
#4B104E #4E2C10 #134E10 #10324E
square
#4B104E #4E2C10 #134E10 #10324E
split-complementary
#4B104E #324E10 #104E2C
monochromatic
#180519 #1A061B #4B104E #7C1A81 #AD25B4

Accessibility & contrast

On white

14.16
#4B104E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4B104E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B104E
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B104E#FFFFFF#000000##FFFFFF
##4B104E1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022650
Deuteranopia (green-blind)
#1E2E4C
Tritanopia (blue-blind)
#4D1A2E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4b104e;
/* rgb */ color: rgb(75, 16, 78);
/* oklch */ color: oklch(30.5% 0.119 325.9);
Tailwind
colors: {
  custom: {
    50: '#805580',
    500: '#4b104e',
    950: '#000000',
  },
}
SCSS
$custom: #4b104e;
$custom-light: #805580;
$custom-dark: #000000;
JSON
{
  "hex": "#4b104e",
  "rgb": {
    "r": 75,
    "g": 16,
    "b": 78
  },
  "hsl": {
    "h": 297.097,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.3047,
    "c": 0.11863,
    "h": 325.9
  },
  "luminance": 0.02416
}

Semantic roles & 50–950 ramp

primary
#4B104E
secondary
#368832
accent
#E93F47
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4B104E

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

Preview Lab → · Contrast checker → · Palette generator →

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