#4A2BB4#4A2BB4

#4A2BB4 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.4% C 0.200 H 284.3°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#4A2BB4
RGBrgb(74, 43, 180)
HSLhsl(254, 61%, 44%)
HSVhsv(254, 76%, 71%)
CMYKcmyk(58.9%, 76.1%, 0%, 29.4%)
CIE-LABlab(30.59, 49.49, -67.31)
CIE-LCHlch(30.59, 83.54, 306.33°)
OKLaboklab(42.37% 0.0494 -0.1939)
OKLCHoklch(42.37% 0.2 284.3)
XYZxyz(11.9236, 6.4781, 43.7933)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2BB4 #95B42B
analogous
#2B50B4 #4A2BB4 #8E2BB4
triadic
#4A2BB4 #B44A2B #2BB44A
tetradic
#4A2BB4 #B42B50 #95B42B #2BB48E
square
#4A2BB4 #B42B50 #95B42B #2BB48E
split-complementary
#4A2BB4 #B48E2B #50B42B
monochromatic
#211351 #361F83 #4A2BB4 #6849D3 #917ADF

Accessibility & contrast

On white

9.15
#4A2BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4A2BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2BB4
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2BB4#FFFFFF#000000##FFFFFF
##4A2BB41.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#0044B2
Tritanopia (blue-blind)
#08526E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4a2bb4;
/* rgb */ color: rgb(74, 43, 180);
/* oklch */ color: oklch(42.4% 0.200 284.3);
Tailwind
colors: {
  custom: {
    50: '#8968cc',
    500: '#4a2bb4',
    950: '#000000',
  },
}
SCSS
$custom: #4a2bb4;
$custom-light: #8968cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2bb4",
  "rgb": {
    "r": 74,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 253.577,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42366,
    "c": 0.20013,
    "h": 284.3
  },
  "luminance": 0.06479
}

Semantic roles & 50–950 ramp

primary
#4A2BB4
secondary
#B4C773
accent
#E543C0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4A2BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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