#4A2EAE#4A2EAE

#4A2EAE is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.2% C 0.190 H 284.8°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#4A2EAE
RGBrgb(74, 46, 174)
HSLhsl(253, 58%, 43%)
HSVhsv(253, 74%, 68%)
CMYKcmyk(57.5%, 73.6%, 0%, 31.8%)
CIE-LABlab(30.56, 46.18, -63.78)
CIE-LCHlch(30.56, 78.74, 305.91°)
OKLaboklab(42.17% 0.0487 -0.1836)
OKLCHoklch(42.17% 0.19 284.8)
XYZxyz(11.4387, 6.4651, 40.6813)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2EAE #92AE2E
analogous
#2E52AE #4A2EAE #8A2EAE
triadic
#4A2EAE #AE4A2E #2EAE4A
tetradic
#4A2EAE #AE2E52 #92AE2E #2EAE8A
square
#4A2EAE #AE2E52 #92AE2E #2EAE8A
split-complementary
#4A2EAE #AE8A2E #52AE2E
monochromatic
#21144D #35217E #4A2EAE #674ACF #907ADC

Accessibility & contrast

On white

9.16
#4A2EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4A2EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2EAE
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2EAE#FFFFFF#000000##FFFFFF
##4A2EAE1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#16516B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4a2eae;
/* rgb */ color: rgb(74, 46, 174);
/* oklch */ color: oklch(42.2% 0.190 284.8);
Tailwind
colors: {
  custom: {
    50: '#886ac7',
    500: '#4a2eae',
    950: '#000000',
  },
}
SCSS
$custom: #4a2eae;
$custom-light: #886ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2eae",
  "rgb": {
    "r": 74,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 253.125,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42171,
    "c": 0.18998,
    "h": 284.8
  },
  "luminance": 0.06466
}

Semantic roles & 50–950 ramp

primary
#4A2EAE
secondary
#B3C474
accent
#E146BF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4A2EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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