#4A249D#4A249D

#4A249D is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.180 H 289.7°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#4A249D
RGBrgb(74, 36, 157)
HSLhsl(259, 63%, 38%)
HSVhsv(259, 77%, 62%)
CMYKcmyk(52.9%, 77.1%, 0%, 38.4%)
CIE-LABlab(27.16, 46.31, -59.08)
CIE-LCHlch(27.16, 75.07, 308.09°)
OKLaboklab(39.29% 0.0608 -0.1698)
OKLCHoklch(39.29% 0.18 289.7)
XYZxyz(9.5390, 5.1515, 32.3835)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A249D #779D24
analogous
#243A9D #4A249D #86249D
triadic
#4A249D #9D4A24 #249D4A
tetradic
#4A249D #9D243A #779D24 #249D86
square
#4A249D #9D243A #779D24 #249D86
split-complementary
#4A249D #9D8624 #3A9D24
monochromatic
#1B0D39 #33196B #4A249D #612FCF #8761DB

Accessibility & contrast

On white

10.34
#4A249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4A249D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A249D
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A249D#FFFFFF#000000##FFFFFF
##4A249D1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A0
Deuteranopia (green-blind)
#003D9B
Tritanopia (blue-blind)
#2B465F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a249d;
/* rgb */ color: rgb(74, 36, 157);
/* oklch */ color: oklch(39.3% 0.180 289.7);
Tailwind
colors: {
  custom: {
    50: '#8663bb',
    500: '#4a249d',
    950: '#000000',
  },
}
SCSS
$custom: #4a249d;
$custom-light: #8663bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a249d",
  "rgb": {
    "r": 74,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 258.843,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39291,
    "c": 0.18039,
    "h": 289.7
  },
  "luminance": 0.05152
}

Semantic roles & 50–950 ramp

primary
#4A249D
secondary
#A1C05D
accent
#E642B2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4A249D

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

Preview Lab → · Contrast checker → · Palette generator →

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