#4A2585#4A2585

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

Color values

HEX#4A2585
RGBrgb(74, 37, 133)
HSLhsl(263, 56%, 33%)
HSVhsv(263, 72%, 52%)
CMYKcmyk(44.4%, 72.2%, 0%, 47.8%)
CIE-LABlab(25.18, 39.04, -47.50)
CIE-LCHlch(25.18, 61.48, 309.42°)
OKLaboklab(37.22% 0.0657 -0.1358)
OKLCHoklch(37.22% 0.151 295.8)
XYZxyz(7.7181, 4.4723, 22.6423)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2585 #608525
analogous
#253085 #4A2585 #7A2585
triadic
#4A2585 #854A25 #25854A
tetradic
#4A2585 #852530 #608525 #25857A
square
#4A2585 #852530 #608525 #25857A
split-complementary
#4A2585 #857A25 #308525
monochromatic
#150A25 #2F1855 #4A2585 #6532B5 #8455D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A2585#FFFFFF#000000##FFFFFF
##4A25851.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)
#003C88
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#3A3D52
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4a2585;
/* rgb */ color: rgb(74, 37, 133);
/* oklch */ color: oklch(37.2% 0.151 295.8);
Tailwind
colors: {
  custom: {
    50: '#8263a9',
    500: '#4a2585',
    950: '#000000',
  },
}
SCSS
$custom: #4a2585;
$custom-light: #8263a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2585",
  "rgb": {
    "r": 74,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 263.125,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37221,
    "c": 0.15089,
    "h": 295.8
  },
  "luminance": 0.04472
}

Semantic roles & 50–950 ramp

primary
#4A2585
secondary
#8EB452
accent
#E048A5
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4A2585

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

Preview Lab → · Contrast checker → · Palette generator →

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