#4A2EB9#4A2EB9

#4A2EB9 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.2% C 0.203 H 283.1°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#4A2EB9
RGBrgb(74, 46, 185)
HSLhsl(252, 60%, 45%)
HSVhsv(252, 75%, 73%)
CMYKcmyk(60%, 75.1%, 0%, 27.5%)
CIE-LABlab(31.61, 49.45, -68.60)
CIE-LCHlch(31.61, 84.57, 305.78°)
OKLaboklab(43.23% 0.046 -0.1977)
OKLCHoklch(43.23% 0.203 283.1)
XYZxyz(12.5553, 6.9118, 46.5620)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2EB9 #9DB92E
analogous
#2E58B9 #4A2EB9 #8F2EB9
triadic
#4A2EB9 #B94A2E #2EB94A
tetradic
#4A2EB9 #B92E58 #9DB92E #2EB98F
square
#4A2EB9 #B92E58 #9DB92E #2EB98F
split-complementary
#4A2EB9 #B98F2E #58B92E
monochromatic
#231657 #362288 #4A2EB9 #6B51D4 #9582E0

Accessibility & contrast

On white

8.81
#4A2EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4A2EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2EB9
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2EB9#FFFFFF#000000##FFFFFF
##4A2EB91.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBD
Deuteranopia (green-blind)
#0046B6
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4a2eb9;
/* rgb */ color: rgb(74, 46, 185);
/* oklch */ color: oklch(43.2% 0.203 283.1);
Tailwind
colors: {
  custom: {
    50: '#8a6acf',
    500: '#4a2eb9',
    950: '#000000',
  },
}
SCSS
$custom: #4a2eb9;
$custom-light: #8a6acf;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2eb9",
  "rgb": {
    "r": 74,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 252.086,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43228,
    "c": 0.20303,
    "h": 283.1
  },
  "luminance": 0.06913
}

Semantic roles & 50–950 ramp

primary
#4A2EB9
secondary
#B9C97A
accent
#E344C3
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4A2EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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