#4A2DB8#4A2DB8

#4A2DB8 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.0% C 0.203 H 283.4°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#4A2DB8
RGBrgb(74, 45, 184)
HSLhsl(253, 61%, 45%)
HSVhsv(253, 76%, 72%)
CMYKcmyk(59.8%, 75.5%, 0%, 27.8%)
CIE-LABlab(31.33, 49.66, -68.46)
CIE-LCHlch(31.33, 84.58, 305.96°)
OKLaboklab(43.01% 0.047 -0.1973)
OKLCHoklch(43.01% 0.203 283.4)
XYZxyz(12.4115, 6.7925, 45.9952)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2DB8 #9BB82D
analogous
#2D55B8 #4A2DB8 #902DB8
triadic
#4A2DB8 #B84A2D #2DB84A
tetradic
#4A2DB8 #B82D55 #9BB82D #2DB890
square
#4A2DB8 #B82D55 #9BB82D #2DB890
split-complementary
#4A2DB8 #B8902D #55B82D
monochromatic
#221556 #362187 #4A2DB8 #6A4ED4 #9480E0

Accessibility & contrast

On white

8.90
#4A2DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4A2DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2DB8
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2DB8#FFFFFF#000000##FFFFFF
##4A2DB81.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBC
Deuteranopia (green-blind)
#0045B5
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4a2db8;
/* rgb */ color: rgb(74, 45, 184);
/* oklch */ color: oklch(43.0% 0.203 283.4);
Tailwind
colors: {
  custom: {
    50: '#8a6acf',
    500: '#4a2db8',
    950: '#000000',
  },
}
SCSS
$custom: #4a2db8;
$custom-light: #8a6acf;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2db8",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 252.518,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43005,
    "c": 0.20284,
    "h": 283.4
  },
  "luminance": 0.06793
}

Semantic roles & 50–950 ramp

primary
#4A2DB8
secondary
#B8C978
accent
#E444C2
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4A2DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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