#4841A5#4841A5

#4841A5 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.2% C 0.156 H 281.1°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#4841A5
RGBrgb(72, 65, 165)
HSLhsl(244, 43%, 45%)
HSVhsv(244, 61%, 65%)
CMYKcmyk(56.4%, 60.6%, 0%, 35.3%)
CIE-LABlab(33.72, 31.93, -53.23)
CIE-LCHlch(33.72, 62.07, 300.96°)
OKLaboklab(44.18% 0.0299 -0.1527)
OKLCHoklch(44.18% 0.156 281.1)
XYZxyz(11.3522, 7.8742, 36.5117)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4841A5 #9EA541
analogous
#416CA5 #4841A5 #7A41A5
triadic
#4841A5 #A54841 #41A548
tetradic
#4841A5 #A5416C #9EA541 #41A57A
square
#4841A5 #A5416C #9EA541 #41A57A
split-complementary
#4841A5 #A57A41 #6CA541
monochromatic
#221E4D #353079 #4841A5 #6962C1 #938ED2

Accessibility & contrast

On white

8.16
#4841A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4841A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4841A5
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4841A5#FFFFFF#000000##FFFFFF
##4841A51.008.162.588.16
#FFFFFF8.161.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#004CA3
Tritanopia (blue-blind)
#1A596C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4841a5;
/* rgb */ color: rgb(72, 65, 165);
/* oklch */ color: oklch(44.2% 0.156 281.1);
Tailwind
colors: {
  custom: {
    50: '#8476c0',
    500: '#4841a5',
    950: '#000000',
  },
}
SCSS
$custom: #4841a5;
$custom-light: #8476c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4841a5",
  "rgb": {
    "r": 72,
    "g": 65,
    "b": 165
  },
  "hsl": {
    "h": 244.2,
    "s": 43.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44175,
    "c": 0.15563,
    "h": 281.1
  },
  "luminance": 0.07875
}

Semantic roles & 50–950 ramp

primary
#4841A5
secondary
#BABE84
accent
#D355CA
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4841A5

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

Preview Lab → · Contrast checker → · Palette generator →

#4841A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva