#4F409A#4F409A

#4F409A is a dark, vivid violet. Relative luminance 0.077; OKLCH L 43.7% C 0.141 H 286.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#4F409A
RGBrgb(79, 64, 154)
HSLhsl(250, 41%, 43%)
HSVhsv(250, 58%, 60%)
CMYKcmyk(48.7%, 58.4%, 0%, 39.6%)
CIE-LABlab(33.27, 30.48, -47.29)
CIE-LCHlch(33.27, 56.26, 302.80°)
OKLaboklab(43.73% 0.0405 -0.1351)
OKLCHoklch(43.73% 0.141 286.7)
XYZxyz(10.8889, 7.6617, 31.4707)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F409A #8B9A40
analogous
#405E9A #4F409A #7C409A
triadic
#4F409A #9A4F40 #409A4F
tetradic
#4F409A #9A405E #8B9A40 #409A7C
square
#4F409A #9A405E #8B9A40 #409A7C
split-complementary
#4F409A #9A7C40 #5E9A40
monochromatic
#231C44 #392E6F #4F409A #6C5CBB #9387CD

Accessibility & contrast

On white

8.29
#4F409A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4F409A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F409A
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F409A#FFFFFF#000000##FFFFFF
##4F409A1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519D
Deuteranopia (green-blind)
#004C98
Tritanopia (blue-blind)
#365466
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f409a;
/* rgb */ color: rgb(79, 64, 154);
/* oklch */ color: oklch(43.7% 0.141 286.7);
Tailwind
colors: {
  custom: {
    50: '#8675b8',
    500: '#4f409a',
    950: '#000000',
  },
}
SCSS
$custom: #4f409a;
$custom-light: #8675b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f409a",
  "rgb": {
    "r": 79,
    "g": 64,
    "b": 154
  },
  "hsl": {
    "h": 250,
    "s": 41.284,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43734,
    "c": 0.14099,
    "h": 286.7
  },
  "luminance": 0.07662
}

Semantic roles & 50–950 ramp

primary
#4F409A
secondary
#AEB87E
accent
#D157BD
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #4F409A

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

Preview Lab → · Contrast checker → · Palette generator →

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