#4A2BB8#4A2BB8

#4A2BB8 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.8% C 0.205 H 283.6°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#4A2BB8
RGBrgb(74, 43, 184)
HSLhsl(253, 62%, 45%)
HSVhsv(253, 77%, 72%)
CMYKcmyk(59.8%, 76.6%, 0%, 27.8%)
CIE-LABlab(30.98, 50.65, -69.04)
CIE-LCHlch(30.98, 85.63, 306.27°)
OKLaboklab(42.76% 0.0483 -0.199)
OKLCHoklch(42.76% 0.205 283.6)
XYZxyz(12.3370, 6.6435, 45.9703)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2BB8 #99B82B
analogous
#2B53B8 #4A2BB8 #902BB8
triadic
#4A2BB8 #B84A2B #2BB84A
tetradic
#4A2BB8 #B82B53 #99B82B #2BB890
square
#4A2BB8 #B82B53 #99B82B #2BB890
split-complementary
#4A2BB8 #B8902B #53B82B
monochromatic
#221455 #361F86 #4A2BB8 #6A4BD5 #937DE1

Accessibility & contrast

On white

9.02
#4A2BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4A2BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2BB8
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2BB8#FFFFFF#000000##FFFFFF
##4A2BB81.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBC
Deuteranopia (green-blind)
#0044B5
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4a2bb8;
/* rgb */ color: rgb(74, 43, 184);
/* oklch */ color: oklch(42.8% 0.205 283.6);
Tailwind
colors: {
  custom: {
    50: '#8a69cf',
    500: '#4a2bb8',
    950: '#000000',
  },
}
SCSS
$custom: #4a2bb8;
$custom-light: #8a69cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2bb8",
  "rgb": {
    "r": 74,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 253.191,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4276,
    "c": 0.20477,
    "h": 283.6
  },
  "luminance": 0.06644
}

Semantic roles & 50–950 ramp

primary
#4A2BB8
secondary
#B7C976
accent
#E543C1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4A2BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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