#4A1990#4A1990

#4A1990 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.176 H 294.5°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#4A1990
RGBrgb(74, 25, 144)
HSLhsl(265, 70%, 33%)
HSVhsv(265, 83%, 56%)
CMYKcmyk(48.6%, 82.6%, 0%, 43.5%)
CIE-LABlab(24.21, 47.66, -55.94)
CIE-LCHlch(24.21, 73.49, 310.43°)
OKLaboklab(36.85% 0.0732 -0.1605)
OKLCHoklch(36.85% 0.176 294.5)
XYZxyz(8.2043, 4.1645, 26.7517)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1990 #5F9019
analogous
#192390 #4A1990 #851990
triadic
#4A1990 #904A19 #19904A
tetradic
#4A1990 #901923 #5F9019 #199085
square
#4A1990 #901923 #5F9019 #199085
split-complementary
#4A1990 #908519 #239019
monochromatic
#140728 #2F105C #4A1990 #6522C4 #8445DF

Accessibility & contrast

On white

11.46
#4A1990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4A1990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1990
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1990#FFFFFF#000000##FFFFFF
##4A19901.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00388E
Tritanopia (blue-blind)
#353C55
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4a1990;
/* rgb */ color: rgb(74, 25, 144);
/* oklch */ color: oklch(36.9% 0.176 294.5);
Tailwind
colors: {
  custom: {
    50: '#855db2',
    500: '#4a1990',
    950: '#000000',
  },
}
SCSS
$custom: #4a1990;
$custom-light: #855db2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1990",
  "rgb": {
    "r": 74,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 264.706,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36852,
    "c": 0.17643,
    "h": 294.5
  },
  "luminance": 0.04165
}

Semantic roles & 50–950 ramp

primary
#4A1990
secondary
#8DC045
accent
#ED3BA4
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A1990

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

Preview Lab → · Contrast checker → · Palette generator →

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