#4A299C#4A299C

#4A299C is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.174 H 289.1°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#4A299C
RGBrgb(74, 41, 156)
HSLhsl(257, 58%, 39%)
HSVhsv(257, 74%, 61%)
CMYKcmyk(52.6%, 73.7%, 0%, 38.8%)
CIE-LABlab(27.96, 43.51, -57.17)
CIE-LCHlch(27.96, 71.84, 307.27°)
OKLaboklab(39.82% 0.0569 -0.1642)
OKLCHoklch(39.82% 0.174 289.1)
XYZxyz(9.6160, 5.4416, 31.9897)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A299C #7B9C29
analogous
#29419C #4A299C #83299C
triadic
#4A299C #9C4A29 #299C4A
tetradic
#4A299C #9C2941 #7B9C29 #299C83
square
#4A299C #9C2941 #7B9C29 #299C83
split-complementary
#4A299C #9C8329 #419C29
monochromatic
#1C103B #331C6C #4A299C #6238CB #8868D7

Accessibility & contrast

On white

10.06
#4A299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4A299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A299C
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A299C#FFFFFF#000000##FFFFFF
##4A299C1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#2C4860
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4a299c;
/* rgb */ color: rgb(74, 41, 156);
/* oklch */ color: oklch(39.8% 0.174 289.1);
Tailwind
colors: {
  custom: {
    50: '#8566ba',
    500: '#4a299c',
    950: '#000000',
  },
}
SCSS
$custom: #4a299c;
$custom-light: #8566ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4a299c",
  "rgb": {
    "r": 74,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 257.217,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39823,
    "c": 0.17384,
    "h": 289.1
  },
  "luminance": 0.05442
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A299C

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

Preview Lab → · Contrast checker → · Palette generator →

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