#4841A0#4841A0

#4841A0 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.8% C 0.149 H 281.6°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#4841A0
RGBrgb(72, 65, 160)
HSLhsl(244, 42%, 44%)
HSVhsv(244, 59%, 63%)
CMYKcmyk(55%, 59.4%, 0%, 37.3%)
CIE-LABlab(33.34, 30.29, -50.83)
CIE-LCHlch(33.34, 59.17, 300.79°)
OKLaboklab(43.78% 0.03 -0.1457)
OKLCHoklch(43.78% 0.149 281.6)
XYZxyz(10.9060, 7.6957, 34.1616)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4841A0 #99A041
analogous
#416AA0 #4841A0 #7841A0
triadic
#4841A0 #A04841 #41A048
tetradic
#4841A0 #A0416A #99A041 #41A078
square
#4841A0 #A0416A #99A041 #41A078
split-complementary
#4841A0 #A07841 #6AA041
monochromatic
#211E49 #342F74 #4841A0 #6760BE #908BD0

Accessibility & contrast

On white

8.27
#4841A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4841A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4841A0
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4841A0#FFFFFF#000000##FFFFFF
##4841A01.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A3
Deuteranopia (green-blind)
#004B9E
Tritanopia (blue-blind)
#20576A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4841a0;
/* rgb */ color: rgb(72, 65, 160);
/* oklch */ color: oklch(43.8% 0.149 281.6);
Tailwind
colors: {
  custom: {
    50: '#8376bd',
    500: '#4841a0',
    950: '#000000',
  },
}
SCSS
$custom: #4841a0;
$custom-light: #8376bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4841a0",
  "rgb": {
    "r": 72,
    "g": 65,
    "b": 160
  },
  "hsl": {
    "h": 244.421,
    "s": 42.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43776,
    "c": 0.14875,
    "h": 281.6
  },
  "luminance": 0.07696
}

Semantic roles & 50–950 ramp

primary
#4841A0
secondary
#B7BB82
accent
#D256C9
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #4841A0

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

Preview Lab → · Contrast checker → · Palette generator →

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