#4A2EC3#4A2EC3

#4A2EC3 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.2% C 0.215 H 281.7°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#4A2EC3
RGBrgb(74, 46, 195)
HSLhsl(251, 62%, 47%)
HSVhsv(251, 76%, 76%)
CMYKcmyk(62.1%, 76.4%, 0%, 23.5%)
CIE-LABlab(32.59, 52.39, -72.88)
CIE-LCHlch(32.59, 89.76, 305.71°)
OKLaboklab(44.21% 0.0435 -0.2102)
OKLCHoklch(44.21% 0.215 281.7)
XYZxyz(13.6483, 7.3490, 52.3185)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2EC3 #A7C32E
analogous
#2E5DC3 #4A2EC3 #952EC3
triadic
#4A2EC3 #C34A2E #2EC34A
tetradic
#4A2EC3 #C32E5D #A7C32E #2EC395
square
#4A2EC3 #C32E5D #A7C32E #2EC395
split-complementary
#4A2EC3 #C3952E #5DC32E
monochromatic
#241760 #372291 #4A2EC3 #6F57D7 #9988E3

Accessibility & contrast

On white

8.50
#4A2EC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4A2EC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2EC3
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2EC3#FFFFFF#000000##FFFFFF
##4A2EC31.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C7
Deuteranopia (green-blind)
#0047C0
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4a2ec3;
/* rgb */ color: rgb(74, 46, 195);
/* oklch */ color: oklch(44.2% 0.215 281.7);
Tailwind
colors: {
  custom: {
    50: '#8b6bd6',
    500: '#4a2ec3',
    950: '#000000',
  },
}
SCSS
$custom: #4a2ec3;
$custom-light: #8b6bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2ec3",
  "rgb": {
    "r": 74,
    "g": 46,
    "b": 195
  },
  "hsl": {
    "h": 251.275,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44214,
    "c": 0.21468,
    "h": 281.7
  },
  "luminance": 0.0735
}

Semantic roles & 50–950 ramp

primary
#4A2EC3
secondary
#BECD80
accent
#E543C6
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4A2EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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