#4841A7#4841A7

#4841A7 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.3% C 0.158 H 280.8°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#4841A7
RGBrgb(72, 65, 167)
HSLhsl(244, 44%, 45%)
HSVhsv(244, 61%, 65%)
CMYKcmyk(56.9%, 61.1%, 0%, 34.5%)
CIE-LABlab(33.87, 32.58, -54.17)
CIE-LCHlch(33.87, 63.22, 301.02°)
OKLaboklab(44.34% 0.0298 -0.1555)
OKLCHoklch(44.34% 0.158 280.8)
XYZxyz(11.5357, 7.9476, 37.4779)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4841A7 #A0A741
analogous
#416DA7 #4841A7 #7B41A7
triadic
#4841A7 #A74841 #41A748
tetradic
#4841A7 #A7416D #A0A741 #41A77B
square
#4841A7 #A7416D #A0A741 #41A77B
split-complementary
#4841A7 #A77B41 #6DA741
monochromatic
#221F4F #35307B #4841A7 #6963C2 #948FD3

Accessibility & contrast

On white

8.11
#4841A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4841A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4841A7
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4841A7#FFFFFF#000000##FFFFFF
##4841A71.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#004CA5
Tritanopia (blue-blind)
#165A6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4841a7;
/* rgb */ color: rgb(72, 65, 167);
/* oklch */ color: oklch(44.3% 0.158 280.8);
Tailwind
colors: {
  custom: {
    50: '#8476c2',
    500: '#4841a7',
    950: '#000000',
  },
}
SCSS
$custom: #4841a7;
$custom-light: #8476c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4841a7",
  "rgb": {
    "r": 72,
    "g": 65,
    "b": 167
  },
  "hsl": {
    "h": 244.118,
    "s": 43.966,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44336,
    "c": 0.15835,
    "h": 280.8
  },
  "luminance": 0.07948
}

Semantic roles & 50–950 ramp

primary
#4841A7
secondary
#BBBF85
accent
#D454CB
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4841A7

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

Preview Lab → · Contrast checker → · Palette generator →

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