#4A2BB5#4A2BB5

#4A2BB5 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.5% C 0.201 H 284.1°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#4A2BB5
RGBrgb(74, 43, 181)
HSLhsl(253, 62%, 44%)
HSVhsv(253, 76%, 71%)
CMYKcmyk(59.1%, 76.2%, 0%, 29%)
CIE-LABlab(30.69, 49.78, -67.74)
CIE-LCHlch(30.69, 84.07, 306.31°)
OKLaboklab(42.47% 0.0491 -0.1952)
OKLCHoklch(42.47% 0.201 284.1)
XYZxyz(12.0258, 6.5190, 44.3317)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2BB5 #96B52B
analogous
#2B51B5 #4A2BB5 #8F2BB5
triadic
#4A2BB5 #B54A2B #2BB54A
tetradic
#4A2BB5 #B52B51 #96B52B #2BB58F
square
#4A2BB5 #B52B51 #96B52B #2BB58F
split-complementary
#4A2BB5 #B58F2B #51B52B
monochromatic
#221452 #361F84 #4A2BB5 #6849D4 #917BE0

Accessibility & contrast

On white

9.11
#4A2BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A2BB5
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2BB5#FFFFFF#000000##FFFFFF
##4A2BB51.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB9
Deuteranopia (green-blind)
#0044B2
Tritanopia (blue-blind)
#05526F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4a2bb5;
/* rgb */ color: rgb(74, 43, 181);
/* oklch */ color: oklch(42.5% 0.201 284.1);
Tailwind
colors: {
  custom: {
    50: '#8968cc',
    500: '#4a2bb5',
    950: '#000000',
  },
}
SCSS
$custom: #4a2bb5;
$custom-light: #8968cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2bb5",
  "rgb": {
    "r": 74,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 253.478,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42465,
    "c": 0.20129,
    "h": 284.1
  },
  "luminance": 0.0652
}

Semantic roles & 50–950 ramp

primary
#4A2BB5
secondary
#B5C874
accent
#E543C0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4A2BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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