#4F419F#4F419F

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

Color values

HEX#4F419F
RGBrgb(79, 65, 159)
HSLhsl(249, 42%, 44%)
HSVhsv(249, 59%, 62%)
CMYKcmyk(50.3%, 59.1%, 0%, 37.6%)
CIE-LABlab(33.87, 31.42, -49.34)
CIE-LCHlch(33.87, 58.50, 302.49°)
OKLaboklab(44.29% 0.0393 -0.1411)
OKLCHoklch(44.29% 0.146 285.5)
XYZxyz(11.3709, 7.9455, 33.7287)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F419F #919F41
analogous
#41629F #4F419F #7E419F
triadic
#4F419F #9F4F41 #419F4F
tetradic
#4F419F #9F4162 #919F41 #419F7E
square
#4F419F #9F4162 #919F41 #419F7E
split-complementary
#4F419F #9F7E41 #629F41
monochromatic
#241D48 #392F74 #4F419F #6D5FBE #958BD0

Accessibility & contrast

On white

8.11
#4F419F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4F419F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F419F
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F419F#FFFFFF#000000##FFFFFF
##4F419F1.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)
#0052A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#325769
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f419f;
/* rgb */ color: rgb(79, 65, 159);
/* oklch */ color: oklch(44.3% 0.146 285.5);
Tailwind
colors: {
  custom: {
    50: '#8776bc',
    500: '#4f419f',
    950: '#000000',
  },
}
SCSS
$custom: #4f419f;
$custom-light: #8776bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f419f",
  "rgb": {
    "r": 79,
    "g": 65,
    "b": 159
  },
  "hsl": {
    "h": 248.936,
    "s": 41.964,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44292,
    "c": 0.14646,
    "h": 285.5
  },
  "luminance": 0.07946
}

Semantic roles & 50–950 ramp

primary
#4F419F
secondary
#B2BA81
accent
#D256BF
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4F419F

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

Preview Lab → · Contrast checker → · Palette generator →

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