#4A2592#4A2592

#4A2592 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.4% C 0.166 H 292.2°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#4A2592
RGBrgb(74, 37, 146)
HSLhsl(260, 60%, 36%)
HSVhsv(260, 75%, 57%)
CMYKcmyk(49.3%, 74.7%, 0%, 42.7%)
CIE-LABlab(26.31, 42.71, -53.72)
CIE-LCHlch(26.31, 68.63, 308.48°)
OKLaboklab(38.38% 0.0629 -0.1541)
OKLCHoklch(38.38% 0.166 292.2)
XYZxyz(8.6725, 4.8540, 27.6685)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2592 #6D9225
analogous
#253692 #4A2592 #802592
triadic
#4A2592 #924A25 #25924A
tetradic
#4A2592 #922536 #6D9225 #259280
square
#4A2592 #922536 #6D9225 #259280
split-complementary
#4A2592 #928025 #369225
monochromatic
#190C30 #311961 #4A2592 #6331C3 #855CD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A2592#FFFFFF#000000##FFFFFF
##4A25921.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)
#004095
Deuteranopia (green-blind)
#003C90
Tritanopia (blue-blind)
#334259
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4a2592;
/* rgb */ color: rgb(74, 37, 146);
/* oklch */ color: oklch(38.4% 0.166 292.2);
Tailwind
colors: {
  custom: {
    50: '#8463b3',
    500: '#4a2592',
    950: '#000000',
  },
}
SCSS
$custom: #4a2592;
$custom-light: #8463b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2592",
  "rgb": {
    "r": 74,
    "g": 37,
    "b": 146
  },
  "hsl": {
    "h": 260.367,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38383,
    "c": 0.16645,
    "h": 292.2
  },
  "luminance": 0.04854
}

Semantic roles & 50–950 ramp

primary
#4A2592
secondary
#99BA58
accent
#E345AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4A2592

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

Preview Lab → · Contrast checker → · Palette generator →

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