#4A2989#4A2989

#4A2989 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.1% C 0.151 H 293.8°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#4A2989
RGBrgb(74, 41, 137)
HSLhsl(261, 54%, 35%)
HSVhsv(261, 70%, 54%)
CMYKcmyk(46%, 70.1%, 0%, 46.3%)
CIE-LABlab(26.30, 38.00, -48.17)
CIE-LCHlch(26.30, 61.36, 308.27°)
OKLaboklab(38.13% 0.0608 -0.1378)
OKLCHoklch(38.13% 0.151 293.8)
XYZxyz(8.1311, 4.8476, 24.1693)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2989 #688929
analogous
#293889 #4A2989 #7A2989
triadic
#4A2989 #894A29 #29894A
tetradic
#4A2989 #892938 #688929 #29897A
square
#4A2989 #892938 #688929 #29897A
split-complementary
#4A2989 #897A29 #388929
monochromatic
#170D2B #311B5A #4A2989 #6337B8 #855ECF

Accessibility & contrast

On white

10.66
#4A2989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4A2989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2989
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2989#FFFFFF#000000##FFFFFF
##4A29891.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#384155
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4a2989;
/* rgb */ color: rgb(74, 41, 137);
/* oklch */ color: oklch(38.1% 0.151 293.8);
Tailwind
colors: {
  custom: {
    50: '#8265ac',
    500: '#4a2989',
    950: '#000000',
  },
}
SCSS
$custom: #4a2989;
$custom-light: #8265ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2989",
  "rgb": {
    "r": 74,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 260.625,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38127,
    "c": 0.15064,
    "h": 293.8
  },
  "luminance": 0.04848
}

Semantic roles & 50–950 ramp

primary
#4A2989
secondary
#95B45A
accent
#DD4AAB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4A2989

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

Preview Lab → · Contrast checker → · Palette generator →

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