#4A2C93#4A2C93

#4A2C93 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.4% C 0.159 H 290.6°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#4A2C93
RGBrgb(74, 44, 147)
HSLhsl(257, 54%, 37%)
HSVhsv(257, 70%, 58%)
CMYKcmyk(49.7%, 70.1%, 0%, 42.4%)
CIE-LABlab(27.75, 39.25, -52.00)
CIE-LCHlch(27.75, 65.15, 307.05°)
OKLaboklab(39.43% 0.056 -0.1491)
OKLCHoklch(39.43% 0.159 290.6)
XYZxyz(8.9897, 5.3634, 28.1597)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2C93 #75932C
analogous
#2C4193 #4A2C93 #7E2C93
triadic
#4A2C93 #934A2C #2C934A
tetradic
#4A2C93 #932C41 #75932C #2C937E
square
#4A2C93 #932C41 #75932C #2C937E
split-complementary
#4A2C93 #937E2C #41932C
monochromatic
#1B1035 #321E64 #4A2C93 #623AC2 #8768D2

Accessibility & contrast

On white

10.13
#4A2C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4A2C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2C93
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2C93#FFFFFF#000000##FFFFFF
##4A2C931.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#003F91
Tritanopia (blue-blind)
#32465C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4a2c93;
/* rgb */ color: rgb(74, 44, 147);
/* oklch */ color: oklch(39.4% 0.159 290.6);
Tailwind
colors: {
  custom: {
    50: '#8467b4',
    500: '#4a2c93',
    950: '#000000',
  },
}
SCSS
$custom: #4a2c93;
$custom-light: #8467b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2c93",
  "rgb": {
    "r": 74,
    "g": 44,
    "b": 147
  },
  "hsl": {
    "h": 257.476,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39427,
    "c": 0.15925,
    "h": 290.6
  },
  "luminance": 0.05364
}

Semantic roles & 50–950 ramp

primary
#4A2C93
secondary
#9FB863
accent
#DD4AB3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4A2C93

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

Preview Lab → · Contrast checker → · Palette generator →

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