#4A2CAE#4A2CAE

#4A2CAE is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.9% C 0.192 H 285.1°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#4A2CAE
RGBrgb(74, 44, 174)
HSLhsl(254, 60%, 43%)
HSVhsv(254, 75%, 68%)
CMYKcmyk(57.5%, 74.7%, 0%, 31.8%)
CIE-LABlab(30.19, 47.22, -64.38)
CIE-LCHlch(30.19, 79.85, 306.26°)
OKLaboklab(41.91% 0.0502 -0.1854)
OKLCHoklch(41.91% 0.192 285.1)
XYZxyz(11.3624, 6.3125, 40.6559)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2CAE #90AE2C
analogous
#2C4FAE #4A2CAE #8B2CAE
triadic
#4A2CAE #AE4A2C #2CAE4A
tetradic
#4A2CAE #AE2C4F #90AE2C #2CAE8B
square
#4A2CAE #AE2C4F #90AE2C #2CAE8B
split-complementary
#4A2CAE #AE8B2C #4FAE2C
monochromatic
#20134C #35207D #4A2CAE #6747D0 #8F78DD

Accessibility & contrast

On white

9.28
#4A2CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4A2CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2CAE
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2CAE#FFFFFF#000000##FFFFFF
##4A2CAE1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#0043AC
Tritanopia (blue-blind)
#17506B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4a2cae;
/* rgb */ color: rgb(74, 44, 174);
/* oklch */ color: oklch(41.9% 0.192 285.1);
Tailwind
colors: {
  custom: {
    50: '#8869c7',
    500: '#4a2cae',
    950: '#000000',
  },
}
SCSS
$custom: #4a2cae;
$custom-light: #8869c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2cae",
  "rgb": {
    "r": 74,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 253.846,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4191,
    "c": 0.19207,
    "h": 285.1
  },
  "luminance": 0.06313
}

Semantic roles & 50–950 ramp

primary
#4A2CAE
secondary
#B1C571
accent
#E345BE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4A2CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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