#4A2EB3#4A2EB3

#4A2EB3 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.6% C 0.196 H 284.0°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#4A2EB3
RGBrgb(74, 46, 179)
HSLhsl(253, 59%, 44%)
HSVhsv(253, 74%, 70%)
CMYKcmyk(58.7%, 74.3%, 0%, 29.8%)
CIE-LABlab(31.03, 47.67, -65.99)
CIE-LCHlch(31.03, 81.40, 305.84°)
OKLaboklab(42.65% 0.0475 -0.1901)
OKLCHoklch(42.65% 0.196 284)
XYZxyz(11.9352, 6.6638, 43.2964)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2EB3 #97B32E
analogous
#2E54B3 #4A2EB3 #8D2EB3
triadic
#4A2EB3 #B34A2E #2EB34A
tetradic
#4A2EB3 #B32E54 #97B32E #2EB38D
square
#4A2EB3 #B32E54 #97B32E #2EB38D
split-complementary
#4A2EB3 #B38D2E #54B32E
monochromatic
#221552 #362182 #4A2EB3 #694DD1 #927EDE

Accessibility & contrast

On white

9.00
#4A2EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4A2EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2EB3
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2EB3#FFFFFF#000000##FFFFFF
##4A2EB31.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0045B1
Tritanopia (blue-blind)
#0B536E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4a2eb3;
/* rgb */ color: rgb(74, 46, 179);
/* oklch */ color: oklch(42.6% 0.196 284.0);
Tailwind
colors: {
  custom: {
    50: '#896acb',
    500: '#4a2eb3',
    950: '#000000',
  },
}
SCSS
$custom: #4a2eb3;
$custom-light: #896acb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2eb3",
  "rgb": {
    "r": 74,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 252.632,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42647,
    "c": 0.19594,
    "h": 284
  },
  "luminance": 0.06665
}

Semantic roles & 50–950 ramp

primary
#4A2EB3
secondary
#B6C676
accent
#E246C1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4A2EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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