#4A2BA5#4A2BA5

#4A2BA5 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.182 H 286.9°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#4A2BA5
RGBrgb(74, 43, 165)
HSLhsl(255, 59%, 41%)
HSVhsv(255, 74%, 65%)
CMYKcmyk(55.2%, 73.9%, 0%, 35.3%)
CIE-LABlab(29.16, 45.09, -60.66)
CIE-LCHlch(29.16, 75.59, 306.63°)
OKLaboklab(40.93% 0.0532 -0.1745)
OKLCHoklch(40.93% 0.182 286.9)
XYZxyz(10.4774, 5.8997, 36.1767)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2BA5 #86A52B
analogous
#2B49A5 #4A2BA5 #872BA5
triadic
#4A2BA5 #A54A2B #2BA54A
tetradic
#4A2BA5 #A52B49 #86A52B #2BA587
square
#4A2BA5 #A52B49 #86A52B #2BA587
split-complementary
#4A2BA5 #A5872B #49A52B
monochromatic
#1E1244 #341E74 #4A2BA5 #6440CD #8B71DA

Accessibility & contrast

On white

9.63
#4A2BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4A2BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2BA5
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2BA5#FFFFFF#000000##FFFFFF
##4A2BA51.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#0041A3
Tritanopia (blue-blind)
#234C65
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4a2ba5;
/* rgb */ color: rgb(74, 43, 165);
/* oklch */ color: oklch(40.9% 0.182 286.9);
Tailwind
colors: {
  custom: {
    50: '#8668c1',
    500: '#4a2ba5',
    950: '#000000',
  },
}
SCSS
$custom: #4a2ba5;
$custom-light: #8668c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2ba5",
  "rgb": {
    "r": 74,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 255.246,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40926,
    "c": 0.18241,
    "h": 286.9
  },
  "luminance": 0.059
}

Semantic roles & 50–950 ramp

primary
#4A2BA5
secondary
#ABC16B
accent
#E246BA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A2BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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