#4A2389#4A2389

#4A2389 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.158 H 295.0°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#4A2389
RGBrgb(74, 35, 137)
HSLhsl(263, 59%, 34%)
HSVhsv(263, 74%, 54%)
CMYKcmyk(46%, 74.5%, 0%, 46.3%)
CIE-LABlab(25.15, 41.20, -50.04)
CIE-LCHlch(25.15, 64.82, 309.46°)
OKLaboklab(37.31% 0.0669 -0.1433)
OKLCHoklch(37.31% 0.158 295)
XYZxyz(7.9392, 4.4638, 24.1054)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2389 #628923
analogous
#232F89 #4A2389 #7D2389
triadic
#4A2389 #894A23 #23894A
tetradic
#4A2389 #89232F #628923 #23897D
square
#4A2389 #89232F #628923 #23897D
split-complementary
#4A2389 #897D23 #2F8923
monochromatic
#150A28 #301758 #4A2389 #642FBA #8453D3

Accessibility & contrast

On white

11.09
#4A2389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4A2389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2389
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2389#FFFFFF#000000##FFFFFF
##4A23891.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a2389;
/* rgb */ color: rgb(74, 35, 137);
/* oklch */ color: oklch(37.3% 0.158 295.0);
Tailwind
colors: {
  custom: {
    50: '#8362ac',
    500: '#4a2389',
    950: '#000000',
  },
}
SCSS
$custom: #4a2389;
$custom-light: #8362ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2389",
  "rgb": {
    "r": 74,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 262.941,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3731,
    "c": 0.15813,
    "h": 295
  },
  "luminance": 0.04464
}

Semantic roles & 50–950 ramp

primary
#4A2389
secondary
#90B751
accent
#E245A6
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4A2389

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

Preview Lab → · Contrast checker → · Palette generator →

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