#4A2CD4#4A2CD4

#4A2CD4 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.7% C 0.236 H 279.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#4A2CD4
RGBrgb(74, 44, 212)
HSLhsl(251, 66%, 50%)
HSVhsv(251, 79%, 83%)
CMYKcmyk(65.1%, 79.2%, 0%, 16.9%)
CIE-LABlab(34.00, 58.26, -80.44)
CIE-LCHlch(34.00, 99.32, 305.91°)
OKLaboklab(45.72% 0.0399 -0.2323)
OKLCHoklch(45.72% 0.236 279.7)
XYZxyz(15.6046, 8.0094, 62.9982)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2CD4 #B6D42C
analogous
#2C62D4 #4A2CD4 #9E2CD4
triadic
#4A2CD4 #D44A2C #2CD44A
tetradic
#4A2CD4 #D42C62 #B6D42C #2CD49E
square
#4A2CD4 #D42C62 #B6D42C #2CD49E
split-complementary
#4A2CD4 #D49E2C #62D42C
monochromatic
#26176F #3821A2 #4A2CD4 #765FDE #A192E9

Accessibility & contrast

On white

8.07
#4A2CD4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4A2CD4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2CD4
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2CD4#FFFFFF#000000##FFFFFF
##4A2CD41.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D9
Deuteranopia (green-blind)
#0049D1
Tritanopia (blue-blind)
#005F81
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4a2cd4;
/* rgb */ color: rgb(74, 44, 212);
/* oklch */ color: oklch(45.7% 0.236 279.7);
Tailwind
colors: {
  custom: {
    50: '#8f6be3',
    500: '#4a2cd4',
    950: '#000000',
  },
}
SCSS
$custom: #4a2cd4;
$custom-light: #8f6be3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2cd4",
  "rgb": {
    "r": 74,
    "g": 44,
    "b": 212
  },
  "hsl": {
    "h": 250.714,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45717,
    "c": 0.23566,
    "h": 279.7
  },
  "luminance": 0.08011
}

Semantic roles & 50–950 ramp

primary
#4A2CD4
secondary
#C6D388
accent
#E93FCB
background
#F9F6FE
surface
#F2EBFC
border
#CCC6D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #4A2CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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