#4A36C6#4A36C6

#4A36C6 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.5% C 0.210 H 280.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#4A36C6
RGBrgb(74, 54, 198)
HSLhsl(248, 57%, 49%)
HSVhsv(248, 73%, 78%)
CMYKcmyk(62.6%, 72.7%, 0%, 22.4%)
CIE-LABlab(34.34, 49.17, -71.76)
CIE-LCHlch(34.34, 86.99, 304.42°)
OKLaboklab(45.53% 0.0376 -0.207)
OKLCHoklch(45.53% 0.21 280.3)
XYZxyz(14.3330, 8.1703, 54.2369)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A36C6 #B2C636
analogous
#366AC6 #4A36C6 #9236C6
triadic
#4A36C6 #C64A36 #36C64A
tetradic
#4A36C6 #C6366A #B2C636 #36C692
square
#4A36C6 #C6366A #B2C636 #36C692
split-complementary
#4A36C6 #C69236 #6AC636
monochromatic
#261C66 #382996 #4A36C6 #7464D5 #9F94E2

Accessibility & contrast

On white

7.97
#4A36C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4A36C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A36C6
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A36C6#FFFFFF#000000##FFFFFF
##4A36C61.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CA
Deuteranopia (green-blind)
#004BC3
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4a36c6;
/* rgb */ color: rgb(74, 54, 198);
/* oklch */ color: oklch(45.5% 0.210 280.3);
Tailwind
colors: {
  custom: {
    50: '#8b70d9',
    500: '#4a36c6',
    950: '#000000',
  },
}
SCSS
$custom: #4a36c6;
$custom-light: #8b70d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a36c6",
  "rgb": {
    "r": 74,
    "g": 54,
    "b": 198
  },
  "hsl": {
    "h": 248.333,
    "s": 57.143,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45533,
    "c": 0.21041,
    "h": 280.3
  },
  "luminance": 0.08171
}

Semantic roles & 50–950 ramp

primary
#4A36C6
secondary
#C4CD8B
accent
#E047CB
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4A36C6

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

Preview Lab → · Contrast checker → · Palette generator →

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