#4A2D8B#4A2D8B

#4A2D8B is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.9% C 0.148 H 292.3°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#4A2D8B
RGBrgb(74, 45, 139)
HSLhsl(259, 51%, 36%)
HSVhsv(259, 68%, 55%)
CMYKcmyk(46.8%, 67.6%, 0%, 45.5%)
CIE-LABlab(27.29, 36.32, -47.80)
CIE-LCHlch(27.29, 60.04, 307.23°)
OKLaboklab(38.89% 0.0561 -0.1368)
OKLCHoklch(38.89% 0.148 292.3)
XYZxyz(8.4213, 5.1964, 24.9804)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2D8B #6E8B2D
analogous
#2D3F8B #4A2D8B #792D8B
triadic
#4A2D8B #8B4A2D #2D8B4A
tetradic
#4A2D8B #8B2D3F #6E8B2D #2D8B79
square
#4A2D8B #8B2D3F #6E8B2D #2D8B79
split-complementary
#4A2D8B #8B792D #3F8B2D
monochromatic
#190F2F #311E5D #4A2D8B #633CB9 #8565CD

Accessibility & contrast

On white

10.30
#4A2D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4A2D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2D8B
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2D8B#FFFFFF#000000##FFFFFF
##4A2D8B1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#374458
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a2d8b;
/* rgb */ color: rgb(74, 45, 139);
/* oklch */ color: oklch(38.9% 0.148 292.3);
Tailwind
colors: {
  custom: {
    50: '#8268ae',
    500: '#4a2d8b',
    950: '#000000',
  },
}
SCSS
$custom: #4a2d8b;
$custom-light: #8268ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2d8b",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 258.511,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3889,
    "c": 0.14783,
    "h": 292.3
  },
  "luminance": 0.05197
}

Semantic roles & 50–950 ramp

primary
#4A2D8B
secondary
#9AB460
accent
#DB4DAF
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4A2D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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