#4A1890#4A1890

#4A1890 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.8% C 0.177 H 294.6°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#4A1890
RGBrgb(74, 24, 144)
HSLhsl(265, 71%, 33%)
HSVhsv(265, 83%, 56%)
CMYKcmyk(48.6%, 83.3%, 0%, 43.5%)
CIE-LABlab(24.07, 48.06, -56.16)
CIE-LCHlch(24.07, 73.92, 310.55°)
OKLaboklab(36.76% 0.0739 -0.1612)
OKLCHoklch(36.76% 0.177 294.6)
XYZxyz(8.1833, 4.1225, 26.7447)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1890 #5E9018
analogous
#182290 #4A1890 #861890
triadic
#4A1890 #904A18 #18904A
tetradic
#4A1890 #901822 #5E9018 #189086
square
#4A1890 #901822 #5E9018 #189086
split-complementary
#4A1890 #908618 #229018
monochromatic
#140727 #2F0F5C #4A1890 #6521C4 #8443E0

Accessibility & contrast

On white

11.51
#4A1890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4A1890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1890
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1890#FFFFFF#000000##FFFFFF
##4A18901.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00378E
Tritanopia (blue-blind)
#353B55
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4a1890;
/* rgb */ color: rgb(74, 24, 144);
/* oklch */ color: oklch(36.8% 0.177 294.6);
Tailwind
colors: {
  custom: {
    50: '#855db2',
    500: '#4a1890',
    950: '#000000',
  },
}
SCSS
$custom: #4a1890;
$custom-light: #855db2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1890",
  "rgb": {
    "r": 74,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 265,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36758,
    "c": 0.1773,
    "h": 294.6
  },
  "luminance": 0.04123
}

Semantic roles & 50–950 ramp

primary
#4A1890
secondary
#8CC043
accent
#EE3AA3
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0411
muted
#7D7980

Preview Lab

Preview with #4A1890

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

Preview Lab → · Contrast checker → · Palette generator →

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