#4A2D95#4A2D95

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

Color values

HEX#4A2D95
RGBrgb(74, 45, 149)
HSLhsl(257, 54%, 38%)
HSVhsv(257, 70%, 58%)
CMYKcmyk(50.3%, 69.8%, 0%, 41.6%)
CIE-LABlab(28.12, 39.28, -52.62)
CIE-LCHlch(28.12, 65.66, 306.74°)
OKLaboklab(39.75% 0.0546 -0.1509)
OKLCHoklch(39.75% 0.16 289.9)
XYZxyz(9.1857, 5.5022, 29.0060)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2D95 #78952D
analogous
#2D4495 #4A2D95 #7E2D95
triadic
#4A2D95 #954A2D #2D954A
tetradic
#4A2D95 #952D44 #78952D #2D957E
square
#4A2D95 #952D44 #78952D #2D957E
split-complementary
#4A2D95 #957E2D #44952D
monochromatic
#1B1137 #331F66 #4A2D95 #613BC4 #876AD2

Accessibility & contrast

On white

10.00
#4A2D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A2D95
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2D95#FFFFFF#000000##FFFFFF
##4A2D951.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a2d95;
/* rgb */ color: rgb(74, 45, 149);
/* oklch */ color: oklch(39.7% 0.160 289.9);
Tailwind
colors: {
  custom: {
    50: '#8468b5',
    500: '#4a2d95',
    950: '#000000',
  },
}
SCSS
$custom: #4a2d95;
$custom-light: #8468b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2d95",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 256.731,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39748,
    "c": 0.16049,
    "h": 289.9
  },
  "luminance": 0.05503
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A2D95

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

Preview Lab → · Contrast checker → · Palette generator →

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