#4841A2#4841A2

#4841A2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.9% C 0.152 H 281.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#4841A2
RGBrgb(72, 65, 162)
HSLhsl(244, 43%, 45%)
HSVhsv(244, 60%, 64%)
CMYKcmyk(55.6%, 59.9%, 0%, 36.5%)
CIE-LABlab(33.49, 30.94, -51.79)
CIE-LCHlch(33.49, 60.33, 300.86°)
OKLaboklab(43.94% 0.03 -0.1485)
OKLCHoklch(43.94% 0.152 281.4)
XYZxyz(11.0824, 7.7663, 35.0905)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4841A2 #9BA241
analogous
#416BA2 #4841A2 #7941A2
triadic
#4841A2 #A24841 #41A248
tetradic
#4841A2 #A2416B #9BA241 #41A279
square
#4841A2 #A2416B #9BA241 #41A279
split-complementary
#4841A2 #A27941 #6BA241
monochromatic
#211E4B #352F76 #4841A2 #6861BF #918CD1

Accessibility & contrast

On white

8.22
#4841A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4841A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4841A2
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4841A2#FFFFFF#000000##FFFFFF
##4841A21.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#1E586B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4841a2;
/* rgb */ color: rgb(72, 65, 162);
/* oklch */ color: oklch(43.9% 0.152 281.4);
Tailwind
colors: {
  custom: {
    50: '#8376be',
    500: '#4841a2',
    950: '#000000',
  },
}
SCSS
$custom: #4841a2;
$custom-light: #8376be;
$custom-dark: #000000;
JSON
{
  "hex": "#4841a2",
  "rgb": {
    "r": 72,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 244.33,
    "s": 42.731,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43935,
    "c": 0.15151,
    "h": 281.4
  },
  "luminance": 0.07767
}

Semantic roles & 50–950 ramp

primary
#4841A2
secondary
#B8BC83
accent
#D355C9
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #4841A2

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

Preview Lab → · Contrast checker → · Palette generator →

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