#4A2EC0#4A2EC0

#4A2EC0 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 43.9% C 0.211 H 282.1°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#4A2EC0
RGBrgb(74, 46, 192)
HSLhsl(252, 61%, 47%)
HSVhsv(252, 76%, 75%)
CMYKcmyk(61.5%, 76%, 0%, 24.7%)
CIE-LABlab(32.29, 51.51, -71.60)
CIE-LCHlch(32.29, 88.21, 305.73°)
OKLaboklab(43.92% 0.0443 -0.2065)
OKLCHoklch(43.92% 0.211 282.1)
XYZxyz(13.3125, 7.2147, 50.5500)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2EC0 #A4C02E
analogous
#2E5BC0 #4A2EC0 #932EC0
triadic
#4A2EC0 #C04A2E #2EC04A
tetradic
#4A2EC0 #C02E5B #A4C02E #2EC093
square
#4A2EC0 #C02E5B #A4C02E #2EC093
split-complementary
#4A2EC0 #C0932E #5BC02E
monochromatic
#24165D #37228F #4A2EC0 #6E55D6 #9886E2

Accessibility & contrast

On white

8.60
#4A2EC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4A2EC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2EC0
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2EC0#FFFFFF#000000##FFFFFF
##4A2EC01.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C4
Deuteranopia (green-blind)
#0047BD
Tritanopia (blue-blind)
#005875
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4a2ec0;
/* rgb */ color: rgb(74, 46, 192);
/* oklch */ color: oklch(43.9% 0.211 282.1);
Tailwind
colors: {
  custom: {
    50: '#8b6bd4',
    500: '#4a2ec0',
    950: '#000000',
  },
}
SCSS
$custom: #4a2ec0;
$custom-light: #8b6bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2ec0",
  "rgb": {
    "r": 74,
    "g": 46,
    "b": 192
  },
  "hsl": {
    "h": 251.507,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43916,
    "c": 0.21121,
    "h": 282.1
  },
  "luminance": 0.07216
}

Semantic roles & 50–950 ramp

primary
#4A2EC0
secondary
#BDCC7E
accent
#E443C6
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4A2EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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