#4A1380#4A1380

#4A1380 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.8% C 0.165 H 300.3°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#4A1380
RGBrgb(74, 19, 128)
HSLhsl(270, 74%, 29%)
HSVhsv(270, 85%, 50%)
CMYKcmyk(42.2%, 85.2%, 0%, 49.8%)
CIE-LABlab(21.87, 45.86, -49.75)
CIE-LCHlch(21.87, 67.66, 312.67°)
OKLaboklab(34.76% 0.0831 -0.1423)
OKLCHoklch(34.76% 0.165 300.3)
XYZxyz(6.9522, 3.4800, 20.7233)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1380 #498013
analogous
#131380 #4A1380 #801380
triadic
#4A1380 #804A13 #13804A
tetradic
#4A1380 #801313 #498013 #138080
square
#4A1380 #801313 #498013 #138080
split-complementary
#4A1380 #808013 #138013
monochromatic
#0F041B #2B0B4B #4A1380 #691BB5 #882DE0

Accessibility & contrast

On white

12.38
#4A1380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#4A1380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1380
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1380#FFFFFF#000000##FFFFFF
##4A13801.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#00347E
Tritanopia (blue-blind)
#3D334B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4a1380;
/* rgb */ color: rgb(74, 19, 128);
/* oklch */ color: oklch(34.8% 0.165 300.3);
Tailwind
colors: {
  custom: {
    50: '#8359a6',
    500: '#4a1380',
    950: '#000000',
  },
}
SCSS
$custom: #4a1380;
$custom-light: #8359a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1380",
  "rgb": {
    "r": 74,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 270.275,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34764,
    "c": 0.1648,
    "h": 300.3
  },
  "luminance": 0.0348
}

Semantic roles & 50–950 ramp

primary
#4A1380
secondary
#77B539
accent
#F13793
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #4A1380

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

Preview Lab → · Contrast checker → · Palette generator →

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