#4A2890#4A2890

#4A2890 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.6% C 0.161 H 292.1°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#4A2890
RGBrgb(74, 40, 144)
HSLhsl(260, 57%, 36%)
HSVhsv(260, 72%, 56%)
CMYKcmyk(48.6%, 72.2%, 0%, 43.5%)
CIE-LABlab(26.70, 40.57, -51.86)
CIE-LCHlch(26.70, 65.84, 308.03°)
OKLaboklab(38.6% 0.0605 -0.1487)
OKLCHoklch(38.6% 0.161 292.1)
XYZxyz(8.6155, 4.9867, 26.8887)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2890 #6E9028
analogous
#283A90 #4A2890 #7E2890
triadic
#4A2890 #904A28 #28904A
tetradic
#4A2890 #90283A #6E9028 #28907E
square
#4A2890 #90283A #6E9028 #28907E
split-complementary
#4A2890 #907E28 #3A9028
monochromatic
#190D30 #311B60 #4A2890 #6335C0 #8560D3

Accessibility & contrast

On white

10.51
#4A2890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4A2890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2890
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2890#FFFFFF#000000##FFFFFF
##4A28901.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#344359
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4a2890;
/* rgb */ color: rgb(74, 40, 144);
/* oklch */ color: oklch(38.6% 0.161 292.1);
Tailwind
colors: {
  custom: {
    50: '#8365b1',
    500: '#4a2890',
    950: '#000000',
  },
}
SCSS
$custom: #4a2890;
$custom-light: #8365b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2890",
  "rgb": {
    "r": 74,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 259.615,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38599,
    "c": 0.1605,
    "h": 292.1
  },
  "luminance": 0.04987
}

Semantic roles & 50–950 ramp

primary
#4A2890
secondary
#9AB85C
accent
#E048AE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4A2890

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

Preview Lab → · Contrast checker → · Palette generator →

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