#4A249A#4A249A

#4A249A is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.177 H 290.4°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#4A249A
RGBrgb(74, 36, 154)
HSLhsl(259, 62%, 37%)
HSVhsv(259, 77%, 60%)
CMYKcmyk(51.9%, 76.6%, 0%, 39.6%)
CIE-LABlab(26.88, 45.47, -57.72)
CIE-LCHlch(26.88, 73.48, 308.23°)
OKLaboklab(39.01% 0.0617 -0.1658)
OKLCHoklch(39.01% 0.177 290.4)
XYZxyz(9.2860, 5.0503, 31.0511)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A249A #749A24
analogous
#24399A #4A249A #85249A
triadic
#4A249A #9A4A24 #249A4A
tetradic
#4A249A #9A2439 #749A24 #249A85
square
#4A249A #9A2439 #749A24 #249A85
split-complementary
#4A249A #9A8524 #399A24
monochromatic
#1A0D37 #321868 #4A249A #6230CC #865FDA

Accessibility & contrast

On white

10.45
#4A249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4A249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A249A
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A249A#FFFFFF#000000##FFFFFF
##4A249A1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003D98
Tritanopia (blue-blind)
#2E455E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a249a;
/* rgb */ color: rgb(74, 36, 154);
/* oklch */ color: oklch(39.0% 0.177 290.4);
Tailwind
colors: {
  custom: {
    50: '#8563b9',
    500: '#4a249a',
    950: '#000000',
  },
}
SCSS
$custom: #4a249a;
$custom-light: #8563b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a249a",
  "rgb": {
    "r": 74,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 259.322,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39005,
    "c": 0.17692,
    "h": 290.4
  },
  "luminance": 0.05051
}

Semantic roles & 50–950 ramp

primary
#4A249A
secondary
#9FBF5B
accent
#E543B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4A249A

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

Preview Lab → · Contrast checker → · Palette generator →

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