#4A2D8A#4A2D8A

#4A2D8A is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.8% C 0.147 H 292.6°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#4A2D8A
RGBrgb(74, 45, 138)
HSLhsl(259, 51%, 36%)
HSVhsv(259, 67%, 54%)
CMYKcmyk(46.4%, 67.4%, 0%, 45.9%)
CIE-LABlab(27.21, 36.03, -47.31)
CIE-LCHlch(27.21, 59.47, 307.29°)
OKLaboklab(38.81% 0.0563 -0.1353)
OKLCHoklch(38.81% 0.147 292.6)
XYZxyz(8.3486, 5.1673, 24.5973)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2D8A #6D8A2D
analogous
#2D3E8A #4A2D8A #782D8A
triadic
#4A2D8A #8A4A2D #2D8A4A
tetradic
#4A2D8A #8A2D3E #6D8A2D #2D8A78
square
#4A2D8A #8A2D3E #6D8A2D #2D8A78
split-complementary
#4A2D8A #8A782D #3E8A2D
monochromatic
#190F2E #311E5C #4A2D8A #633CB8 #8565CD

Accessibility & contrast

On white

10.33
#4A2D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4A2D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2D8A
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2D8A#FFFFFF#000000##FFFFFF
##4A2D8A1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#374357
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a2d8a;
/* rgb */ color: rgb(74, 45, 138);
/* oklch */ color: oklch(38.8% 0.147 292.6);
Tailwind
colors: {
  custom: {
    50: '#8268ad',
    500: '#4a2d8a',
    950: '#000000',
  },
}
SCSS
$custom: #4a2d8a;
$custom-light: #8268ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2d8a",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 258.71,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38806,
    "c": 0.14655,
    "h": 292.6
  },
  "luminance": 0.05168
}

Semantic roles & 50–950 ramp

primary
#4A2D8A
secondary
#99B360
accent
#DA4DAE
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4A2D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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