#4A2D84#4A2D84

#4A2D84 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.3% C 0.139 H 294.2°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#4A2D84
RGBrgb(74, 45, 132)
HSLhsl(260, 49%, 35%)
HSVhsv(260, 66%, 52%)
CMYKcmyk(43.9%, 65.9%, 0%, 48.2%)
CIE-LABlab(26.73, 34.26, -44.35)
CIE-LCHlch(26.73, 56.04, 307.69°)
OKLaboklab(38.31% 0.057 -0.1266)
OKLCHoklch(38.31% 0.139 294.2)
XYZxyz(7.9262, 4.9984, 22.3725)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2D84 #67842D
analogous
#2D3B84 #4A2D84 #762D84
triadic
#4A2D84 #844A2D #2D844A
tetradic
#4A2D84 #842D3B #67842D #2D8476
square
#4A2D84 #842D3B #67842D #2D8476
split-complementary
#4A2D84 #84762D #3B842D
monochromatic
#170E29 #301D56 #4A2D84 #643DB2 #8462C9

Accessibility & contrast

On white

10.50
#4A2D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4A2D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2D84
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2D84#FFFFFF#000000##FFFFFF
##4A2D841.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004087
Deuteranopia (green-blind)
#003E82
Tritanopia (blue-blind)
#3A4154
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4a2d84;
/* rgb */ color: rgb(74, 45, 132);
/* oklch */ color: oklch(38.3% 0.139 294.2);
Tailwind
colors: {
  custom: {
    50: '#8168a8',
    500: '#4a2d84',
    950: '#000000',
  },
}
SCSS
$custom: #4a2d84;
$custom-light: #8168a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2d84",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 260,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38312,
    "c": 0.13881,
    "h": 294.2
  },
  "luminance": 0.04999
}

Semantic roles & 50–950 ramp

primary
#4A2D84
secondary
#94B05D
accent
#D94FAB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4A2D84

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

Preview Lab → · Contrast checker → · Palette generator →

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