#4A034E#4A034E

#4A034E is a dark, vivid purple. Relative luminance 0.021; OKLCH L 29.2% C 0.132 H 325.7°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#4A034E
RGBrgb(74, 3, 78)
HSLhsl(297, 93%, 16%)
HSVhsv(297, 96%, 31%)
CMYKcmyk(5.1%, 96.2%, 0%, 69.4%)
CIE-LABlab(15.86, 39.90, -26.63)
CIE-LCHlch(15.86, 47.97, 326.28°)
OKLaboklab(29.24% 0.109 -0.0743)
OKLCHoklch(29.24% 0.132 325.7)
XYZxyz(4.2317, 2.0713, 7.3832)
Luminance0.0207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A034E #074E03
analogous
#24034E #4A034E #4E032C
triadic
#4A034E #4E4A03 #034E4A
tetradic
#4A034E #4E2403 #074E03 #032C4E
square
#4A034E #4E2403 #074E03 #032C4E
split-complementary
#4A034E #2C4E03 #034E24
monochromatic
#1C011D #1C011D #4A034E #820589 #BA08C4

Accessibility & contrast

On white

14.85
#4A034E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#4A034E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A034E
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A034E#FFFFFF#000000##FFFFFF
##4A034E1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002250
Deuteranopia (green-blind)
#172A4C
Tritanopia (blue-blind)
#4C132B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4a034e;
/* rgb */ color: rgb(74, 3, 78);
/* oklch */ color: oklch(29.2% 0.132 325.7);
Tailwind
colors: {
  custom: {
    50: '#805080',
    500: '#4a034e',
    950: '#000000',
  },
}
SCSS
$custom: #4a034e;
$custom-light: #805080;
$custom-dark: #000000;
JSON
{
  "hex": "#4a034e",
  "rgb": {
    "r": 74,
    "g": 3,
    "b": 78
  },
  "hsl": {
    "h": 296.8,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.29243,
    "c": 0.1319,
    "h": 325.7
  },
  "luminance": 0.02071
}

Semantic roles & 50–950 ramp

primary
#4A034E
secondary
#248E1E
accent
#FF2934
background
#F8F4F7
surface
#EFE7EE
border
#CAC3C9
text
#0A020A
muted
#7C787C

Preview Lab

Preview with #4A034E

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

Preview Lab → · Contrast checker → · Palette generator →

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