#4B074E#4B074E

#4B074E is a dark, vivid purple. Relative luminance 0.022; OKLCH L 29.7% C 0.128 H 326.2°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#4B074E
RGBrgb(75, 7, 78)
HSLhsl(297, 84%, 17%)
HSVhsv(297, 91%, 31%)
CMYKcmyk(3.8%, 91%, 0%, 69.4%)
CIE-LABlab(16.49, 38.82, -25.60)
CIE-LCHlch(16.49, 46.50, 326.60°)
OKLaboklab(29.73% 0.1066 -0.0713)
OKLCHoklch(29.73% 0.128 326.2)
XYZxyz(4.3527, 2.1982, 7.4013)
Luminance0.0220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B074E #0A4E07
analogous
#28074E #4B074E #4E072E
triadic
#4B074E #4E4B07 #074E4B
tetradic
#4B074E #4E2807 #0A4E07 #072E4E
square
#4B074E #4E2807 #0A4E07 #072E4E
split-complementary
#4B074E #2E4E07 #074E28
monochromatic
#1B031C #1B031C #4B074E #810C86 #B711BE

Accessibility & contrast

On white

14.59
#4B074E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4B074E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B074E
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B074E#FFFFFF#000000##FFFFFF
##4B074E1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002450
Deuteranopia (green-blind)
#1A2C4C
Tritanopia (blue-blind)
#4D152C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4b074e;
/* rgb */ color: rgb(75, 7, 78);
/* oklch */ color: oklch(29.7% 0.128 326.2);
Tailwind
colors: {
  custom: {
    50: '#805280',
    500: '#4b074e',
    950: '#000000',
  },
}
SCSS
$custom: #4b074e;
$custom-light: #805280;
$custom-dark: #000000;
JSON
{
  "hex": "#4b074e",
  "rgb": {
    "r": 75,
    "g": 7,
    "b": 78
  },
  "hsl": {
    "h": 297.465,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.29729,
    "c": 0.12828,
    "h": 326.2
  },
  "luminance": 0.02198
}

Semantic roles & 50–950 ramp

primary
#4B074E
secondary
#298C25
accent
#FA2E37
background
#F8F4F7
surface
#EFE7EE
border
#CAC3C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4B074E

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

Preview Lab → · Contrast checker → · Palette generator →

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