#4A2E99#4A2E99

#4A2E99 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.2% C 0.164 H 288.8°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#4A2E99
RGBrgb(74, 46, 153)
HSLhsl(256, 54%, 39%)
HSVhsv(256, 70%, 60%)
CMYKcmyk(51.6%, 69.9%, 0%, 40%)
CIE-LABlab(28.67, 39.91, -54.18)
CIE-LCHlch(28.67, 67.29, 306.38°)
OKLaboklab(40.25% 0.053 -0.1555)
OKLCHoklch(40.25% 0.164 288.8)
XYZxyz(9.5491, 5.7093, 30.7297)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2E99 #7D992E
analogous
#2E4899 #4A2E99 #802E99
triadic
#4A2E99 #994A2E #2E994A
tetradic
#4A2E99 #992E48 #7D992E #2E9980
square
#4A2E99 #992E48 #7D992E #2E9980
split-complementary
#4A2E99 #99802E #48992E
monochromatic
#1C123B #33206A #4A2E99 #623FC5 #896ED3

Accessibility & contrast

On white

9.80
#4A2E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4A2E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2E99
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2E99#FFFFFF#000000##FFFFFF
##4A2E991.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#2E4960
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4a2e99;
/* rgb */ color: rgb(74, 46, 153);
/* oklch */ color: oklch(40.2% 0.164 288.8);
Tailwind
colors: {
  custom: {
    50: '#8469b8',
    500: '#4a2e99',
    950: '#000000',
  },
}
SCSS
$custom: #4a2e99;
$custom-light: #8469b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2e99",
  "rgb": {
    "r": 74,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 255.701,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40246,
    "c": 0.16426,
    "h": 288.8
  },
  "luminance": 0.0571
}

Semantic roles & 50–950 ramp

primary
#4A2E99
secondary
#A5BB68
accent
#DD4BB7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4A2E99

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

Preview Lab → · Contrast checker → · Palette generator →

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