#4A1A90#4A1A90

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

Color values

HEX#4A1A90
RGBrgb(74, 26, 144)
HSLhsl(264, 69%, 33%)
HSVhsv(264, 82%, 56%)
CMYKcmyk(48.6%, 81.9%, 0%, 43.5%)
CIE-LABlab(24.35, 47.26, -55.71)
CIE-LCHlch(24.35, 73.05, 310.31°)
OKLaboklab(36.95% 0.0725 -0.1599)
OKLCHoklch(36.95% 0.176 294.4)
XYZxyz(8.2261, 4.2080, 26.7590)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1A90 #60901A
analogous
#1A2590 #4A1A90 #851A90
triadic
#4A1A90 #904A1A #1A904A
tetradic
#4A1A90 #901A25 #60901A #1A9085
square
#4A1A90 #901A25 #60901A #1A9085
split-complementary
#4A1A90 #90851A #25901A
monochromatic
#150728 #2F115C #4A1A90 #6523C4 #8447DE

Accessibility & contrast

On white

11.40
#4A1A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4A1A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1A90
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1A90#FFFFFF#000000##FFFFFF
##4A1A901.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a1a90;
/* rgb */ color: rgb(74, 26, 144);
/* oklch */ color: oklch(36.9% 0.176 294.4);
Tailwind
colors: {
  custom: {
    50: '#845db2',
    500: '#4a1a90',
    950: '#000000',
  },
}
SCSS
$custom: #4a1a90;
$custom-light: #845db2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1a90",
  "rgb": {
    "r": 74,
    "g": 26,
    "b": 144
  },
  "hsl": {
    "h": 264.407,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36948,
    "c": 0.17553,
    "h": 294.4
  },
  "luminance": 0.04208
}

Semantic roles & 50–950 ramp

primary
#4A1A90
secondary
#8EBF47
accent
#EC3CA4
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A1A90

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

Preview Lab → · Contrast checker → · Palette generator →

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