#4A31C9#4A31C9

#4A31C9 is a mid, highly saturated blue. Relative luminance 0.079; OKLCH L 45.2% C 0.219 H 280.6°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#4A31C9
RGBrgb(74, 49, 201)
HSLhsl(250, 61%, 49%)
HSVhsv(250, 76%, 79%)
CMYKcmyk(63.2%, 75.6%, 0%, 21.2%)
CIE-LABlab(33.71, 52.67, -74.54)
CIE-LCHlch(33.71, 91.27, 305.25°)
OKLaboklab(45.18% 0.0401 -0.2151)
OKLCHoklch(45.18% 0.219 280.6)
XYZxyz(14.4616, 7.8684, 56.0037)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A31C9 #B0C931
analogous
#3164C9 #4A31C9 #9631C9
triadic
#4A31C9 #C94A31 #31C94A
tetradic
#4A31C9 #C93164 #B0C931 #31C996
square
#4A31C9 #C93164 #B0C931 #31C996
split-complementary
#4A31C9 #C99631 #64C931
monochromatic
#261967 #382598 #4A31C9 #735FD8 #9E90E4

Accessibility & contrast

On white

8.16
#4A31C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4A31C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A31C9
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A31C9#FFFFFF#000000##FFFFFF
##4A31C91.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CD
Deuteranopia (green-blind)
#0049C6
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4a31c9;
/* rgb */ color: rgb(74, 49, 201);
/* oklch */ color: oklch(45.2% 0.219 280.6);
Tailwind
colors: {
  custom: {
    50: '#8c6ddb',
    500: '#4a31c9',
    950: '#000000',
  },
}
SCSS
$custom: #4a31c9;
$custom-light: #8c6ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a31c9",
  "rgb": {
    "r": 74,
    "g": 49,
    "b": 201
  },
  "hsl": {
    "h": 249.868,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45177,
    "c": 0.21883,
    "h": 280.6
  },
  "luminance": 0.0787
}

Semantic roles & 50–950 ramp

primary
#4A31C9
secondary
#C3CF87
accent
#E444CA
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4A31C9

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

Preview Lab → · Contrast checker → · Palette generator →

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