#4A2C8B#4A2C8B

#4A2C8B is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.149 H 292.6°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#4A2C8B
RGBrgb(74, 44, 139)
HSLhsl(259, 52%, 36%)
HSVhsv(259, 68%, 55%)
CMYKcmyk(46.8%, 68.3%, 0%, 45.5%)
CIE-LABlab(27.08, 36.89, -48.15)
CIE-LCHlch(27.08, 60.66, 307.46°)
OKLaboklab(38.74% 0.0572 -0.1378)
OKLCHoklch(38.74% 0.149 292.6)
XYZxyz(8.3836, 5.1210, 24.9678)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2C8B #6D8B2C
analogous
#2C3D8B #4A2C8B #792C8B
triadic
#4A2C8B #8B4A2C #2C8B4A
tetradic
#4A2C8B #8B2C3D #6D8B2C #2C8B79
square
#4A2C8B #8B2C3D #6D8B2C #2C8B79
split-complementary
#4A2C8B #8B792C #3D8B2C
monochromatic
#190F2E #311D5D #4A2C8B #633BB9 #8564CE

Accessibility & contrast

On white

10.37
#4A2C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4A2C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2C8B
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2C8B#FFFFFF#000000##FFFFFF
##4A2C8B1.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#374357
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a2c8b;
/* rgb */ color: rgb(74, 44, 139);
/* oklch */ color: oklch(38.7% 0.149 292.6);
Tailwind
colors: {
  custom: {
    50: '#8267ae',
    500: '#4a2c8b',
    950: '#000000',
  },
}
SCSS
$custom: #4a2c8b;
$custom-light: #8267ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2c8b",
  "rgb": {
    "r": 74,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 258.947,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38739,
    "c": 0.14918,
    "h": 292.6
  },
  "luminance": 0.05121
}

Semantic roles & 50–950 ramp

primary
#4A2C8B
secondary
#99B45F
accent
#DB4CAE
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4A2C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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