#4F4091#4F4091

#4F4091 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.1% C 0.128 H 288.3°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#4F4091
RGBrgb(79, 64, 145)
HSLhsl(251, 39%, 41%)
HSVhsv(251, 56%, 57%)
CMYKcmyk(45.5%, 55.9%, 0%, 43.1%)
CIE-LABlab(32.64, 27.69, -42.82)
CIE-LCHlch(32.64, 50.99, 302.89°)
OKLaboklab(43.07% 0.0403 -0.1219)
OKLCHoklch(43.07% 0.128 288.3)
XYZxyz(10.1672, 7.3730, 27.6700)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4091 #829140
analogous
#405991 #4F4091 #774091
triadic
#4F4091 #914F40 #40914F
tetradic
#4F4091 #914059 #829140 #409177
square
#4F4091 #914059 #829140 #409177
split-complementary
#4F4091 #917740 #599140
monochromatic
#211B3C #382D67 #4F4091 #6A59B6 #9083C8

Accessibility & contrast

On white

8.49
#4F4091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4F4091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4091
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4091#FFFFFF#000000##FFFFFF
##4F40911.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164F94
Deuteranopia (green-blind)
#174B8F
Tritanopia (blue-blind)
#3B5262
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f4091;
/* rgb */ color: rgb(79, 64, 145);
/* oklch */ color: oklch(43.1% 0.128 288.3);
Tailwind
colors: {
  custom: {
    50: '#8575b2',
    500: '#4f4091',
    950: '#000000',
  },
}
SCSS
$custom: #4f4091;
$custom-light: #8575b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4091",
  "rgb": {
    "r": 79,
    "g": 64,
    "b": 145
  },
  "hsl": {
    "h": 251.111,
    "s": 38.756,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43071,
    "c": 0.12841,
    "h": 288.3
  },
  "luminance": 0.07373
}

Semantic roles & 50–950 ramp

primary
#4F4091
secondary
#A8B37A
accent
#CF59B9
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4F4091

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

Preview Lab → · Contrast checker → · Palette generator →

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