#4A299A#4A299A

#4A299A is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.171 H 289.6°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#4A299A
RGBrgb(74, 41, 154)
HSLhsl(258, 58%, 38%)
HSVhsv(258, 73%, 60%)
CMYKcmyk(51.9%, 73.4%, 0%, 39.6%)
CIE-LABlab(27.78, 42.93, -56.24)
CIE-LCHlch(27.78, 70.76, 307.35°)
OKLaboklab(39.64% 0.0574 -0.1615)
OKLCHoklch(39.64% 0.171 289.6)
XYZxyz(9.4480, 5.3744, 31.1051)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A299A #799A29
analogous
#29409A #4A299A #82299A
triadic
#4A299A #9A4A29 #299A4A
tetradic
#4A299A #9A2940 #799A29 #299A82
square
#4A299A #9A2940 #799A29 #299A82
split-complementary
#4A299A #9A8229 #409A29
monochromatic
#1C0F39 #331C6A #4A299A #6237CA #8767D7

Accessibility & contrast

On white

10.12
#4A299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4A299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A299A
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A299A#FFFFFF#000000##FFFFFF
##4A299A1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#2D475F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4a299a;
/* rgb */ color: rgb(74, 41, 154);
/* oklch */ color: oklch(39.6% 0.171 289.6);
Tailwind
colors: {
  custom: {
    50: '#8566b9',
    500: '#4a299a',
    950: '#000000',
  },
}
SCSS
$custom: #4a299a;
$custom-light: #8566b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a299a",
  "rgb": {
    "r": 74,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 257.522,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39639,
    "c": 0.17143,
    "h": 289.6
  },
  "luminance": 0.05375
}

Semantic roles & 50–950 ramp

primary
#4A299A
secondary
#A2BD62
accent
#E147B4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A299A

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

Preview Lab → · Contrast checker → · Palette generator →

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