#4A1D90#4A1D90

#4A1D90 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.173 H 294.0°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#4A1D90
RGBrgb(74, 29, 144)
HSLhsl(263, 66%, 34%)
HSVhsv(263, 80%, 56%)
CMYKcmyk(48.6%, 79.9%, 0%, 43.5%)
CIE-LABlab(24.79, 45.98, -54.98)
CIE-LCHlch(24.79, 71.67, 309.90°)
OKLaboklab(37.26% 0.0702 -0.1578)
OKLCHoklch(37.26% 0.173 294)
XYZxyz(8.2961, 4.3479, 26.7823)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1D90 #63901D
analogous
#1D2A90 #4A1D90 #841D90
triadic
#4A1D90 #904A1D #1D904A
tetradic
#4A1D90 #901D2A #63901D #1D9084
square
#4A1D90 #901D2A #63901D #1D9084
split-complementary
#4A1D90 #90841D #2A901D
monochromatic
#16082A #30135D #4A1D90 #6427C3 #844CDB

Accessibility & contrast

On white

11.23
#4A1D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4A1D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1D90
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1D90#FFFFFF#000000##FFFFFF
##4A1D901.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#353D56
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4a1d90;
/* rgb */ color: rgb(74, 29, 144);
/* oklch */ color: oklch(37.3% 0.173 294.0);
Tailwind
colors: {
  custom: {
    50: '#845fb2',
    500: '#4a1d90',
    950: '#000000',
  },
}
SCSS
$custom: #4a1d90;
$custom-light: #845fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1d90",
  "rgb": {
    "r": 74,
    "g": 29,
    "b": 144
  },
  "hsl": {
    "h": 263.478,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37256,
    "c": 0.17268,
    "h": 294
  },
  "luminance": 0.04348
}

Semantic roles & 50–950 ramp

primary
#4A1D90
secondary
#91BD4B
accent
#E93EA6
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A1D90

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

Preview Lab → · Contrast checker → · Palette generator →

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