#4A2D94#4A2D94

#4A2D94 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.7% C 0.159 H 290.1°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#4A2D94
RGBrgb(74, 45, 148)
HSLhsl(257, 53%, 38%)
HSVhsv(257, 70%, 58%)
CMYKcmyk(50%, 69.6%, 0%, 42%)
CIE-LABlab(28.04, 38.98, -52.14)
CIE-LCHlch(28.04, 65.11, 306.78°)
OKLaboklab(39.66% 0.0548 -0.1495)
OKLCHoklch(39.66% 0.159 290.1)
XYZxyz(9.1062, 5.4704, 28.5873)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2D94 #77942D
analogous
#2D4494 #4A2D94 #7D2D94
triadic
#4A2D94 #944A2D #2D944A
tetradic
#4A2D94 #942D44 #77942D #2D947D
square
#4A2D94 #942D44 #77942D #2D947D
split-complementary
#4A2D94 #947D2D #44942D
monochromatic
#1B1036 #331F65 #4A2D94 #613BC3 #876AD2

Accessibility & contrast

On white

10.03
#4A2D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4A2D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2D94
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2D94#FFFFFF#000000##FFFFFF
##4A2D941.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#004092
Tritanopia (blue-blind)
#31475D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4a2d94;
/* rgb */ color: rgb(74, 45, 148);
/* oklch */ color: oklch(39.7% 0.159 290.1);
Tailwind
colors: {
  custom: {
    50: '#8468b4',
    500: '#4a2d94',
    950: '#000000',
  },
}
SCSS
$custom: #4a2d94;
$custom-light: #8468b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2d94",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 256.893,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39661,
    "c": 0.15924,
    "h": 290.1
  },
  "luminance": 0.05471
}

Semantic roles & 50–950 ramp

primary
#4A2D94
secondary
#A1B864
accent
#DD4BB4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4A2D94

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

Preview Lab → · Contrast checker → · Palette generator →

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