#4A2ECD#4A2ECD

#4A2ECD is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.2% C 0.226 H 280.4°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#4A2ECD
RGBrgb(74, 46, 205)
HSLhsl(251, 63%, 49%)
HSVhsv(251, 78%, 80%)
CMYKcmyk(63.9%, 77.6%, 0%, 19.6%)
CIE-LABlab(33.60, 55.31, -77.05)
CIE-LCHlch(33.60, 94.85, 305.67°)
OKLaboklab(45.22% 0.0408 -0.2224)
OKLCHoklch(45.22% 0.226 280.4)
XYZxyz(14.8170, 7.8165, 58.4737)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2ECD #B1CD2E
analogous
#2E62CD #4A2ECD #9A2ECD
triadic
#4A2ECD #CD4A2E #2ECD4A
tetradic
#4A2ECD #CD2E62 #B1CD2E #2ECD9A
square
#4A2ECD #CD2E62 #B1CD2E #2ECD9A
split-complementary
#4A2ECD #CD9A2E #62CD2E
monochromatic
#261869 #38239B #4A2ECD #745DDB #9F8FE6

Accessibility & contrast

On white

8.19
#4A2ECD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4A2ECD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2ECD
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2ECD#FFFFFF#000000##FFFFFF
##4A2ECD1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D1
Deuteranopia (green-blind)
#0049CA
Tritanopia (blue-blind)
#005D7D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4a2ecd;
/* rgb */ color: rgb(74, 46, 205);
/* oklch */ color: oklch(45.2% 0.226 280.4);
Tailwind
colors: {
  custom: {
    50: '#8d6bde',
    500: '#4a2ecd',
    950: '#000000',
  },
}
SCSS
$custom: #4a2ecd;
$custom-light: #8d6bde;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2ecd",
  "rgb": {
    "r": 74,
    "g": 46,
    "b": 205
  },
  "hsl": {
    "h": 250.566,
    "s": 63.347,
    "l": 49.216
  },
  "oklch": {
    "l": 0.4522,
    "c": 0.22612,
    "h": 280.4
  },
  "luminance": 0.07818
}

Semantic roles & 50–950 ramp

primary
#4A2ECD
secondary
#C3D086
accent
#E641C9
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4A2ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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