#4A299B#4A299B

#4A299B is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.173 H 289.3°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#4A299B
RGBrgb(74, 41, 155)
HSLhsl(257, 58%, 38%)
HSVhsv(257, 74%, 61%)
CMYKcmyk(52.3%, 73.5%, 0%, 39.2%)
CIE-LABlab(27.87, 43.22, -56.71)
CIE-LCHlch(27.87, 71.30, 307.31°)
OKLaboklab(39.73% 0.0572 -0.1629)
OKLCHoklch(39.73% 0.173 289.3)
XYZxyz(9.5317, 5.4079, 31.5456)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A299B #7A9B29
analogous
#29419B #4A299B #83299B
triadic
#4A299B #9B4A29 #299B4A
tetradic
#4A299B #9B2941 #7A9B29 #299B83
square
#4A299B #9B2941 #7A9B29 #299B83
split-complementary
#4A299B #9B8329 #419B29
monochromatic
#1C0F3A #331C6B #4A299B #6237CA #8867D7

Accessibility & contrast

On white

10.09
#4A299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A299B
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A299B#FFFFFF#000000##FFFFFF
##4A299B1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#2C475F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4a299b;
/* rgb */ color: rgb(74, 41, 155);
/* oklch */ color: oklch(39.7% 0.173 289.3);
Tailwind
colors: {
  custom: {
    50: '#8566b9',
    500: '#4a299b',
    950: '#000000',
  },
}
SCSS
$custom: #4a299b;
$custom-light: #8566b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a299b",
  "rgb": {
    "r": 74,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 257.368,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39731,
    "c": 0.17264,
    "h": 289.3
  },
  "luminance": 0.05408
}

Semantic roles & 50–950 ramp

primary
#4A299B
secondary
#A3BD63
accent
#E146B5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A299B

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

Preview Lab → · Contrast checker → · Palette generator →

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