#4A2090#4A2090

#4A2090 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.170 H 293.5°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#4A2090
RGBrgb(74, 32, 144)
HSLhsl(263, 64%, 35%)
HSVhsv(263, 78%, 56%)
CMYKcmyk(48.6%, 77.8%, 0%, 43.5%)
CIE-LABlab(25.27, 44.60, -54.20)
CIE-LCHlch(25.27, 70.20, 309.45°)
OKLaboklab(37.59% 0.0678 -0.1555)
OKLCHoklch(37.59% 0.17 293.5)
XYZxyz(8.3732, 4.5022, 26.8080)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2090 #669020
analogous
#202E90 #4A2090 #822090
triadic
#4A2090 #904A20 #20904A
tetradic
#4A2090 #90202E #669020 #209082
square
#4A2090 #90202E #669020 #209082
split-complementary
#4A2090 #908220 #2E9020
monochromatic
#170A2C #30155E #4A2090 #642BC2 #8452D9

Accessibility & contrast

On white

11.05
#4A2090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4A2090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2090
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2090#FFFFFF#000000##FFFFFF
##4A20901.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#003A8E
Tritanopia (blue-blind)
#353F57
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4a2090;
/* rgb */ color: rgb(74, 32, 144);
/* oklch */ color: oklch(37.6% 0.170 293.5);
Tailwind
colors: {
  custom: {
    50: '#8460b1',
    500: '#4a2090',
    950: '#000000',
  },
}
SCSS
$custom: #4a2090;
$custom-light: #8460b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2090",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 262.5,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37589,
    "c": 0.16962,
    "h": 293.5
  },
  "luminance": 0.04502
}

Semantic roles & 50–950 ramp

primary
#4A2090
secondary
#93BC50
accent
#E741A9
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A2090

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

Preview Lab → · Contrast checker → · Palette generator →

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