#4F419D#4F419D

#4F419D is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.1% C 0.144 H 285.9°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#4F419D
RGBrgb(79, 65, 157)
HSLhsl(249, 41%, 44%)
HSVhsv(249, 59%, 62%)
CMYKcmyk(49.7%, 58.6%, 0%, 38.4%)
CIE-LABlab(33.72, 30.79, -48.37)
CIE-LCHlch(33.72, 57.34, 302.48°)
OKLaboklab(44.14% 0.0393 -0.1382)
OKLCHoklch(44.14% 0.144 285.9)
XYZxyz(11.1988, 7.8767, 32.8220)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F419D #8F9D41
analogous
#41619D #4F419D #7D419D
triadic
#4F419D #9D4F41 #419D4F
tetradic
#4F419D #9D4161 #8F9D41 #419D7D
square
#4F419D #9D4161 #8F9D41 #419D7D
split-complementary
#4F419D #9D7D41 #619D41
monochromatic
#231D46 #392F72 #4F419D #6D5FBD #948ACF

Accessibility & contrast

On white

8.15
#4F419D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4F419D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F419D
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F419D#FFFFFF#000000##FFFFFF
##4F419D1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#004D9B
Tritanopia (blue-blind)
#345668
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f419d;
/* rgb */ color: rgb(79, 65, 157);
/* oklch */ color: oklch(44.1% 0.144 285.9);
Tailwind
colors: {
  custom: {
    50: '#8676bb',
    500: '#4f419d',
    950: '#000000',
  },
}
SCSS
$custom: #4f419d;
$custom-light: #8676bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f419d",
  "rgb": {
    "r": 79,
    "g": 65,
    "b": 157
  },
  "hsl": {
    "h": 249.13,
    "s": 41.441,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44139,
    "c": 0.1437,
    "h": 285.9
  },
  "luminance": 0.07877
}

Semantic roles & 50–950 ramp

primary
#4F419D
secondary
#B1B980
accent
#D157BF
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4F419D

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

Preview Lab → · Contrast checker → · Palette generator →

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