#4A2DBA#4A2DBA

#4A2DBA is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.2% C 0.205 H 283.1°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#4A2DBA
RGBrgb(74, 45, 186)
HSLhsl(252, 61%, 45%)
HSVhsv(252, 76%, 73%)
CMYKcmyk(60.2%, 75.8%, 0%, 27.1%)
CIE-LABlab(31.52, 50.25, -69.33)
CIE-LCHlch(31.52, 85.62, 305.94°)
OKLaboklab(43.2% 0.0465 -0.1998)
OKLCHoklch(43.2% 0.205 283.1)
XYZxyz(12.6226, 6.8769, 47.1071)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2DBA #9DBA2D
analogous
#2D57BA #4A2DBA #902DBA
triadic
#4A2DBA #BA4A2D #2DBA4A
tetradic
#4A2DBA #BA2D57 #9DBA2D #2DBA90
square
#4A2DBA #BA2D57 #9DBA2D #2DBA90
split-complementary
#4A2DBA #BA902D #57BA2D
monochromatic
#231557 #362189 #4A2DBA #6B50D5 #9581E0

Accessibility & contrast

On white

8.84
#4A2DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4A2DBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2DBA
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2DBA#FFFFFF#000000##FFFFFF
##4A2DBA1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBE
Deuteranopia (green-blind)
#0045B7
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4a2dba;
/* rgb */ color: rgb(74, 45, 186);
/* oklch */ color: oklch(43.2% 0.205 283.1);
Tailwind
colors: {
  custom: {
    50: '#8a6ad0',
    500: '#4a2dba',
    950: '#000000',
  },
}
SCSS
$custom: #4a2dba;
$custom-light: #8a6ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2dba",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 186
  },
  "hsl": {
    "h": 252.34,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43201,
    "c": 0.20518,
    "h": 283.1
  },
  "luminance": 0.06878
}

Semantic roles & 50–950 ramp

primary
#4A2DBA
secondary
#B9C979
accent
#E444C3
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4A2DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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