#4A249C#4A249C

#4A249C is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.179 H 289.9°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#4A249C
RGBrgb(74, 36, 156)
HSLhsl(259, 63%, 38%)
HSVhsv(259, 77%, 61%)
CMYKcmyk(52.6%, 76.9%, 0%, 38.8%)
CIE-LABlab(27.07, 46.03, -58.63)
CIE-LCHlch(27.07, 74.54, 308.14°)
OKLaboklab(39.2% 0.0611 -0.1685)
OKLCHoklch(39.2% 0.179 289.9)
XYZxyz(9.4539, 5.1175, 31.9357)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A249C #769C24
analogous
#243A9C #4A249C #86249C
triadic
#4A249C #9C4A24 #249C4A
tetradic
#4A249C #9C243A #769C24 #249C86
square
#4A249C #9C243A #769C24 #249C86
split-complementary
#4A249C #9C8624 #3A9C24
monochromatic
#1B0D39 #32196A #4A249C #622FCE #8760DA

Accessibility & contrast

On white

10.38
#4A249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4A249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A249C
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A249C#FFFFFF#000000##FFFFFF
##4A249C1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#2C455F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a249c;
/* rgb */ color: rgb(74, 36, 156);
/* oklch */ color: oklch(39.2% 0.179 289.9);
Tailwind
colors: {
  custom: {
    50: '#8663ba',
    500: '#4a249c',
    950: '#000000',
  },
}
SCSS
$custom: #4a249c;
$custom-light: #8663ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4a249c",
  "rgb": {
    "r": 74,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 259,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39196,
    "c": 0.17923,
    "h": 289.9
  },
  "luminance": 0.05118
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A249C

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

Preview Lab → · Contrast checker → · Palette generator →

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