#4A2589#4A2589

#4A2589 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.156 H 294.6°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#4A2589
RGBrgb(74, 37, 137)
HSLhsl(262, 57%, 34%)
HSVhsv(262, 73%, 54%)
CMYKcmyk(46%, 73%, 0%, 46.3%)
CIE-LABlab(25.52, 40.16, -49.44)
CIE-LCHlch(25.52, 63.70, 309.09°)
OKLaboklab(37.57% 0.0649 -0.1415)
OKLCHoklch(37.57% 0.156 294.6)
XYZxyz(7.9997, 4.5849, 24.1255)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2589 #648925
analogous
#253289 #4A2589 #7C2589
triadic
#4A2589 #894A25 #25894A
tetradic
#4A2589 #892532 #648925 #25897C
square
#4A2589 #892532 #648925 #25897C
split-complementary
#4A2589 #897C25 #328925
monochromatic
#160B29 #301859 #4A2589 #6432B9 #8457D2

Accessibility & contrast

On white

10.95
#4A2589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A2589
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2589#FFFFFF#000000##FFFFFF
##4A25891.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#383E54
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4a2589;
/* rgb */ color: rgb(74, 37, 137);
/* oklch */ color: oklch(37.6% 0.156 294.6);
Tailwind
colors: {
  custom: {
    50: '#8363ac',
    500: '#4a2589',
    950: '#000000',
  },
}
SCSS
$custom: #4a2589;
$custom-light: #8363ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2589",
  "rgb": {
    "r": 74,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 262.2,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37572,
    "c": 0.15571,
    "h": 294.6
  },
  "luminance": 0.04585
}

Semantic roles & 50–950 ramp

primary
#4A2589
secondary
#92B654
accent
#E147A8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4A2589

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

Preview Lab → · Contrast checker → · Palette generator →

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