#4A2EB0#4A2EB0

#4A2EB0 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.192 H 284.5°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#4A2EB0
RGBrgb(74, 46, 176)
HSLhsl(253, 59%, 44%)
HSVhsv(253, 74%, 69%)
CMYKcmyk(58%, 73.9%, 0%, 31%)
CIE-LABlab(30.74, 46.78, -64.66)
CIE-LCHlch(30.74, 79.81, 305.88°)
OKLaboklab(42.36% 0.0482 -0.1862)
OKLCHoklch(42.36% 0.192 284.5)
XYZxyz(11.6351, 6.5437, 41.7158)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2EB0 #94B02E
analogous
#2E53B0 #4A2EB0 #8B2EB0
triadic
#4A2EB0 #B04A2E #2EB04A
tetradic
#4A2EB0 #B02E53 #94B02E #2EB08B
square
#4A2EB0 #B02E53 #94B02E #2EB08B
split-complementary
#4A2EB0 #B08B2E #53B02E
monochromatic
#21154F #36217F #4A2EB0 #684BD0 #917CDD

Accessibility & contrast

On white

9.10
#4A2EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4A2EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2EB0
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2EB0#FFFFFF#000000##FFFFFF
##4A2EB01.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB4
Deuteranopia (green-blind)
#0044AE
Tritanopia (blue-blind)
#12526C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4a2eb0;
/* rgb */ color: rgb(74, 46, 176);
/* oklch */ color: oklch(42.4% 0.192 284.5);
Tailwind
colors: {
  custom: {
    50: '#886ac9',
    500: '#4a2eb0',
    950: '#000000',
  },
}
SCSS
$custom: #4a2eb0;
$custom-light: #886ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2eb0",
  "rgb": {
    "r": 74,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 252.923,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42361,
    "c": 0.19237,
    "h": 284.5
  },
  "luminance": 0.06544
}

Semantic roles & 50–950 ramp

primary
#4A2EB0
secondary
#B4C575
accent
#E246C0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4A2EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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