#4A2C97#4A2C97

#4A2C97 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.8% C 0.164 H 289.7°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#4A2C97
RGBrgb(74, 44, 151)
HSLhsl(257, 55%, 38%)
HSVhsv(257, 71%, 59%)
CMYKcmyk(51%, 70.9%, 0%, 40.8%)
CIE-LABlab(28.09, 40.43, -53.89)
CIE-LCHlch(28.09, 67.37, 306.88°)
OKLaboklab(39.78% 0.0552 -0.1546)
OKLCHoklch(39.78% 0.164 289.7)
XYZxyz(9.3090, 5.4912, 29.8416)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2C97 #79972C
analogous
#2C4497 #4A2C97 #7F2C97
triadic
#4A2C97 #974A2C #2C974A
tetradic
#4A2C97 #972C44 #79972C #2C977F
square
#4A2C97 #972C44 #79972C #2C977F
split-complementary
#4A2C97 #977F2C #44972C
monochromatic
#1C1038 #331E68 #4A2C97 #623AC6 #876AD4

Accessibility & contrast

On white

10.01
#4A2C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4A2C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2C97
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2C97#FFFFFF#000000##FFFFFF
##4A2C971.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#2F475E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4a2c97;
/* rgb */ color: rgb(74, 44, 151);
/* oklch */ color: oklch(39.8% 0.164 289.7);
Tailwind
colors: {
  custom: {
    50: '#8468b6',
    500: '#4a2c97',
    950: '#000000',
  },
}
SCSS
$custom: #4a2c97;
$custom-light: #8468b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2c97",
  "rgb": {
    "r": 74,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 256.822,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.3978,
    "c": 0.16422,
    "h": 289.7
  },
  "luminance": 0.05492
}

Semantic roles & 50–950 ramp

primary
#4A2C97
secondary
#A2BA65
accent
#DE4AB5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4A2C97

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

Preview Lab → · Contrast checker → · Palette generator →

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