#4A2290#4A2290

#4A2290 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.167 H 293.2°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#4A2290
RGBrgb(74, 34, 144)
HSLhsl(262, 62%, 35%)
HSVhsv(262, 76%, 56%)
CMYKcmyk(48.6%, 76.4%, 0%, 43.5%)
CIE-LABlab(25.60, 43.65, -53.65)
CIE-LCHlch(25.60, 69.16, 309.13°)
OKLaboklab(37.82% 0.0661 -0.1539)
OKLCHoklch(37.82% 0.167 293.2)
XYZxyz(8.4287, 4.6132, 26.8265)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2290 #689022
analogous
#223190 #4A2290 #812290
triadic
#4A2290 #904A22 #22904A
tetradic
#4A2290 #902231 #689022 #229081
square
#4A2290 #902231 #689022 #229081
split-complementary
#4A2290 #908122 #319022
monochromatic
#170B2D #31165E #4A2290 #632EC2 #8555D7

Accessibility & contrast

On white

10.92
#4A2290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4A2290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2290
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2290#FFFFFF#000000##FFFFFF
##4A22901.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#344057
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4a2290;
/* rgb */ color: rgb(74, 34, 144);
/* oklch */ color: oklch(37.8% 0.167 293.2);
Tailwind
colors: {
  custom: {
    50: '#8461b1',
    500: '#4a2290',
    950: '#000000',
  },
}
SCSS
$custom: #4a2290;
$custom-light: #8461b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2290",
  "rgb": {
    "r": 74,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 261.818,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37825,
    "c": 0.16747,
    "h": 293.2
  },
  "luminance": 0.04614
}

Semantic roles & 50–950 ramp

primary
#4A2290
secondary
#95BB53
accent
#E543AA
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A2290

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

Preview Lab → · Contrast checker → · Palette generator →

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