#4A1390#4A1390

#4A1390 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.3% C 0.181 H 295.2°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#4A1390
RGBrgb(74, 19, 144)
HSLhsl(266, 77%, 32%)
HSVhsv(266, 87%, 56%)
CMYKcmyk(48.6%, 86.8%, 0%, 43.5%)
CIE-LABlab(23.46, 49.87, -57.18)
CIE-LCHlch(23.46, 75.87, 311.10°)
OKLaboklab(36.33% 0.0771 -0.1641)
OKLCHoklch(36.33% 0.181 295.2)
XYZxyz(8.0896, 3.9350, 26.7135)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1390 #599013
analogous
#131B90 #4A1390 #891390
triadic
#4A1390 #904A13 #13904A
tetradic
#4A1390 #90131B #599013 #139089
square
#4A1390 #90131B #599013 #139089
split-complementary
#4A1390 #908913 #1B9013
monochromatic
#120524 #2E0C5A #4A1390 #661AC6 #8439E5

Accessibility & contrast

On white

11.75
#4A1390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4A1390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1390
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1390#FFFFFF#000000##FFFFFF
##4A13901.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#353A54
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4a1390;
/* rgb */ color: rgb(74, 19, 144);
/* oklch */ color: oklch(36.3% 0.181 295.2);
Tailwind
colors: {
  custom: {
    50: '#855bb2',
    500: '#4a1390',
    950: '#000000',
  },
}
SCSS
$custom: #4a1390;
$custom-light: #855bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1390",
  "rgb": {
    "r": 74,
    "g": 19,
    "b": 144
  },
  "hsl": {
    "h": 266.4,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36333,
    "c": 0.18129,
    "h": 295.2
  },
  "luminance": 0.03935
}

Semantic roles & 50–950 ramp

primary
#4A1390
secondary
#88C43B
accent
#F3359F
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0411
muted
#7D7980

Preview Lab

Preview with #4A1390

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

Preview Lab → · Contrast checker → · Palette generator →

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