#4A299F#4A299F

#4A299F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.177 H 288.5°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#4A299F
RGBrgb(74, 41, 159)
HSLhsl(257, 59%, 39%)
HSVhsv(257, 74%, 62%)
CMYKcmyk(53.5%, 74.2%, 0%, 37.6%)
CIE-LABlab(28.23, 44.38, -58.54)
CIE-LCHlch(28.23, 73.47, 307.17°)
OKLaboklab(40.1% 0.0562 -0.1683)
OKLCHoklch(40.1% 0.177 288.5)
XYZxyz(9.8732, 5.5445, 33.3441)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A299F #7E9F29
analogous
#29439F #4A299F #85299F
triadic
#4A299F #9F4A29 #299F4A
tetradic
#4A299F #9F2943 #7E9F29 #299F85
square
#4A299F #9F2943 #7E9F29 #299F85
split-complementary
#4A299F #9F8529 #439F29
monochromatic
#1D103E #331C6E #4A299F #6239CC #896AD9

Accessibility & contrast

On white

9.96
#4A299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4A299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A299F
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A299F#FFFFFF#000000##FFFFFF
##4A299F1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#294962
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4a299f;
/* rgb */ color: rgb(74, 41, 159);
/* oklch */ color: oklch(40.1% 0.177 288.5);
Tailwind
colors: {
  custom: {
    50: '#8666bc',
    500: '#4a299f',
    950: '#000000',
  },
}
SCSS
$custom: #4a299f;
$custom-light: #8666bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a299f",
  "rgb": {
    "r": 74,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 256.78,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40102,
    "c": 0.17743,
    "h": 288.5
  },
  "luminance": 0.05545
}

Semantic roles & 50–950 ramp

primary
#4A299F
secondary
#A6BF65
accent
#E246B6
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A299F

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

Preview Lab → · Contrast checker → · Palette generator →

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