#4A2291#4A2291

#4A2291 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.169 H 293.0°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#4A2291
RGBrgb(74, 34, 145)
HSLhsl(262, 62%, 35%)
HSVhsv(262, 77%, 57%)
CMYKcmyk(49%, 76.6%, 0%, 43.1%)
CIE-LABlab(25.70, 43.92, -54.12)
CIE-LCHlch(25.70, 69.70, 309.06°)
OKLaboklab(37.92% 0.0658 -0.1553)
OKLCHoklch(37.92% 0.169 293)
XYZxyz(8.5055, 4.6439, 27.2308)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2291 #699122
analogous
#223191 #4A2291 #822291
triadic
#4A2291 #914A22 #22914A
tetradic
#4A2291 #912231 #699122 #229182
square
#4A2291 #912231 #699122 #229182
split-complementary
#4A2291 #918222 #319122
monochromatic
#170B2E #31165F #4A2291 #632EC3 #8556D7

Accessibility & contrast

On white

10.89
#4A2291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4A2291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2291
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2291#FFFFFF#000000##FFFFFF
##4A22911.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#003B8F
Tritanopia (blue-blind)
#344058
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4a2291;
/* rgb */ color: rgb(74, 34, 145);
/* oklch */ color: oklch(37.9% 0.169 293.0);
Tailwind
colors: {
  custom: {
    50: '#8462b2',
    500: '#4a2291',
    950: '#000000',
  },
}
SCSS
$custom: #4a2291;
$custom-light: #8462b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2291",
  "rgb": {
    "r": 74,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 261.622,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37918,
    "c": 0.16862,
    "h": 293
  },
  "luminance": 0.04644
}

Semantic roles & 50–950 ramp

primary
#4A2291
secondary
#96BB53
accent
#E543AB
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A2291

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

Preview Lab → · Contrast checker → · Palette generator →

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