#4F419E#4F419E

#4F419E is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.2% C 0.145 H 285.7°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#4F419E
RGBrgb(79, 65, 158)
HSLhsl(249, 42%, 44%)
HSVhsv(249, 59%, 62%)
CMYKcmyk(50%, 58.9%, 0%, 38%)
CIE-LABlab(33.80, 31.10, -48.86)
CIE-LCHlch(33.80, 57.92, 302.48°)
OKLaboklab(44.22% 0.0393 -0.1397)
OKLCHoklch(44.22% 0.145 285.7)
XYZxyz(11.2845, 7.9109, 33.2735)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F419E #909E41
analogous
#41619E #4F419E #7D419E
triadic
#4F419E #9E4F41 #419E4F
tetradic
#4F419E #9E4161 #909E41 #419E7D
square
#4F419E #9E4161 #909E41 #419E7D
split-complementary
#4F419E #9E7D41 #619E41
monochromatic
#241D47 #392F73 #4F419E #6D5FBD #958ACF

Accessibility & contrast

On white

8.13
#4F419E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F419E
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F419E#FFFFFF#000000##FFFFFF
##4F419E1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#004D9C
Tritanopia (blue-blind)
#335669
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f419e;
/* rgb */ color: rgb(79, 65, 158);
/* oklch */ color: oklch(44.2% 0.145 285.7);
Tailwind
colors: {
  custom: {
    50: '#8776bb',
    500: '#4f419e',
    950: '#000000',
  },
}
SCSS
$custom: #4f419e;
$custom-light: #8776bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f419e",
  "rgb": {
    "r": 79,
    "g": 65,
    "b": 158
  },
  "hsl": {
    "h": 249.032,
    "s": 41.704,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44215,
    "c": 0.14509,
    "h": 285.7
  },
  "luminance": 0.07911
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F419E

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

Preview Lab → · Contrast checker → · Palette generator →

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