#4A2C90#4A2C90

#4A2C90 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.2% C 0.155 H 291.3°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#4A2C90
RGBrgb(74, 44, 144)
HSLhsl(258, 53%, 37%)
HSVhsv(258, 69%, 56%)
CMYKcmyk(48.6%, 69.4%, 0%, 43.5%)
CIE-LABlab(27.49, 38.36, -50.57)
CIE-LCHlch(27.49, 63.47, 307.19°)
OKLaboklab(39.17% 0.0565 -0.1449)
OKLCHoklch(39.17% 0.156 291.3)
XYZxyz(8.7573, 5.2705, 26.9360)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2C90 #72902C
analogous
#2C4090 #4A2C90 #7C2C90
triadic
#4A2C90 #904A2C #2C904A
tetradic
#4A2C90 #902C40 #72902C #2C907C
square
#4A2C90 #902C40 #72902C #2C907C
split-complementary
#4A2C90 #907C2C #40902C
monochromatic
#1A0F32 #321E61 #4A2C90 #623ABF #8666D0

Accessibility & contrast

On white

10.22
#4A2C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4A2C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2C90
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2C90#FFFFFF#000000##FFFFFF
##4A2C901.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#34455A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4a2c90;
/* rgb */ color: rgb(74, 44, 144);
/* oklch */ color: oklch(39.2% 0.155 291.3);
Tailwind
colors: {
  custom: {
    50: '#8367b1',
    500: '#4a2c90',
    950: '#000000',
  },
}
SCSS
$custom: #4a2c90;
$custom-light: #8367b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2c90",
  "rgb": {
    "r": 74,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 258,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39166,
    "c": 0.1555,
    "h": 291.3
  },
  "luminance": 0.05271
}

Semantic roles & 50–950 ramp

primary
#4A2C90
secondary
#9DB761
accent
#DD4BB1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4A2C90

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

Preview Lab → · Contrast checker → · Palette generator →

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