#4A2489#4A2489

#4A2489 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.157 H 294.8°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#4A2489
RGBrgb(74, 36, 137)
HSLhsl(263, 58%, 34%)
HSVhsv(263, 74%, 54%)
CMYKcmyk(46%, 73.7%, 0%, 46.3%)
CIE-LABlab(25.33, 40.69, -49.74)
CIE-LCHlch(25.33, 64.26, 309.28°)
OKLaboklab(37.44% 0.0659 -0.1424)
OKLCHoklch(37.44% 0.157 294.8)
XYZxyz(7.9691, 4.5235, 24.1153)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2489 #638924
analogous
#243189 #4A2489 #7D2489
triadic
#4A2489 #894A24 #24894A
tetradic
#4A2489 #892431 #638924 #24897D
square
#4A2489 #892431 #638924 #24897D
split-complementary
#4A2489 #897D24 #318924
monochromatic
#160B28 #301759 #4A2489 #6431B9 #8455D2

Accessibility & contrast

On white

11.02
#4A2489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4A2489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2489
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2489#FFFFFF#000000##FFFFFF
##4A24891.0011.021.9011.02
#FFFFFF11.021.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a2489;
/* rgb */ color: rgb(74, 36, 137);
/* oklch */ color: oklch(37.4% 0.157 294.8);
Tailwind
colors: {
  custom: {
    50: '#8362ac',
    500: '#4a2489',
    950: '#000000',
  },
}
SCSS
$custom: #4a2489;
$custom-light: #8362ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2489",
  "rgb": {
    "r": 74,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 262.574,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3744,
    "c": 0.15693,
    "h": 294.8
  },
  "luminance": 0.04524
}

Semantic roles & 50–950 ramp

primary
#4A2489
secondary
#91B752
accent
#E246A7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4A2489

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

Preview Lab → · Contrast checker → · Palette generator →

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