#4A2ECA#4A2ECA

#4A2ECA is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.9% C 0.223 H 280.8°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#4A2ECA
RGBrgb(74, 46, 202)
HSLhsl(251, 63%, 49%)
HSVhsv(251, 77%, 79%)
CMYKcmyk(63.4%, 77.2%, 0%, 20.8%)
CIE-LABlab(33.29, 54.44, -75.81)
CIE-LCHlch(33.29, 93.33, 305.68°)
OKLaboklab(44.92% 0.0416 -0.2188)
OKLCHoklch(44.92% 0.223 280.8)
XYZxyz(14.4583, 7.6730, 56.5848)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2ECA #AECA2E
analogous
#2E60CA #4A2ECA #982ECA
triadic
#4A2ECA #CA4A2E #2ECA4A
tetradic
#4A2ECA #CA2E60 #AECA2E #2ECA98
square
#4A2ECA #CA2E60 #AECA2E #2ECA98
split-complementary
#4A2ECA #CA982E #60CA2E
monochromatic
#251766 #382398 #4A2ECA #725BDA #9D8DE5

Accessibility & contrast

On white

8.28
#4A2ECA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4A2ECA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2ECA
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2ECA#FFFFFF#000000##FFFFFF
##4A2ECA1.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CE
Deuteranopia (green-blind)
#0048C7
Tritanopia (blue-blind)
#005C7B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4a2eca;
/* rgb */ color: rgb(74, 46, 202);
/* oklch */ color: oklch(44.9% 0.223 280.8);
Tailwind
colors: {
  custom: {
    50: '#8d6bdb',
    500: '#4a2eca',
    950: '#000000',
  },
}
SCSS
$custom: #4a2eca;
$custom-light: #8d6bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2eca",
  "rgb": {
    "r": 74,
    "g": 46,
    "b": 202
  },
  "hsl": {
    "h": 250.769,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.44916,
    "c": 0.2227,
    "h": 280.8
  },
  "luminance": 0.07674
}

Semantic roles & 50–950 ramp

primary
#4A2ECA
secondary
#C2CF84
accent
#E642C8
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4A2ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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