#4A299D#4A299D

#4A299D is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.175 H 288.9°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#4A299D
RGBrgb(74, 41, 157)
HSLhsl(257, 59%, 39%)
HSVhsv(257, 74%, 62%)
CMYKcmyk(52.9%, 73.9%, 0%, 38.4%)
CIE-LABlab(28.05, 43.80, -57.63)
CIE-LCHlch(28.05, 72.38, 307.24°)
OKLaboklab(39.92% 0.0567 -0.1656)
OKLCHoklch(39.92% 0.175 288.9)
XYZxyz(9.7010, 5.4756, 32.4375)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A299D #7C9D29
analogous
#29429D #4A299D #84299D
triadic
#4A299D #9D4A29 #299D4A
tetradic
#4A299D #9D2942 #7C9D29 #299D84
square
#4A299D #9D2942 #7C9D29 #299D84
split-complementary
#4A299D #9D8429 #429D29
monochromatic
#1C103C #331C6C #4A299D #6238CB #8869D8

Accessibility & contrast

On white

10.02
#4A299D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4A299D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A299D
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A299D#FFFFFF#000000##FFFFFF
##4A299D1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#003F9B
Tritanopia (blue-blind)
#2B4860
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4a299d;
/* rgb */ color: rgb(74, 41, 157);
/* oklch */ color: oklch(39.9% 0.175 288.9);
Tailwind
colors: {
  custom: {
    50: '#8566bb',
    500: '#4a299d',
    950: '#000000',
  },
}
SCSS
$custom: #4a299d;
$custom-light: #8566bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a299d",
  "rgb": {
    "r": 74,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 257.069,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39916,
    "c": 0.17504,
    "h": 288.9
  },
  "luminance": 0.05476
}

Semantic roles & 50–950 ramp

primary
#4A299D
secondary
#A4BE64
accent
#E246B5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A299D

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

Preview Lab → · Contrast checker → · Palette generator →

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