#4F3D89#4F3D89

#4F3D89 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 41.9% C 0.122 H 291.1°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#4F3D89
RGBrgb(79, 61, 137)
HSLhsl(254, 38%, 39%)
HSVhsv(254, 55%, 54%)
CMYKcmyk(42.3%, 55.5%, 0%, 46.3%)
CIE-LABlab(31.36, 27.15, -39.96)
CIE-LCHlch(31.36, 48.31, 304.19°)
OKLaboklab(41.95% 0.0439 -0.1135)
OKLCHoklch(41.95% 0.122 291.1)
XYZxyz(9.4073, 6.8056, 24.4800)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3D89 #77893D
analogous
#3D5189 #4F3D89 #753D89
triadic
#4F3D89 #894F3D #3D894F
tetradic
#4F3D89 #893D51 #77893D #3D8975
square
#4F3D89 #893D51 #77893D #3D8975
split-complementary
#4F3D89 #89753D #51893D
monochromatic
#1E1734 #372A5F #4F3D89 #6851B2 #8D7CC5

Accessibility & contrast

On white

8.89
#4F3D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4F3D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3D89
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3D89#FFFFFF#000000##FFFFFF
##4F3D891.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194B8C
Deuteranopia (green-blind)
#1C4887
Tritanopia (blue-blind)
#3F4D5D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4f3d89;
/* rgb */ color: rgb(79, 61, 137);
/* oklch */ color: oklch(41.9% 0.122 291.1);
Tailwind
colors: {
  custom: {
    50: '#8473ac',
    500: '#4f3d89',
    950: '#000000',
  },
}
SCSS
$custom: #4f3d89;
$custom-light: #8473ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3d89",
  "rgb": {
    "r": 79,
    "g": 61,
    "b": 137
  },
  "hsl": {
    "h": 254.211,
    "s": 38.384,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41948,
    "c": 0.1217,
    "h": 291.1
  },
  "luminance": 0.06806
}

Semantic roles & 50–950 ramp

primary
#4F3D89
secondary
#A0AE73
accent
#CE59B3
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4F3D89

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

Preview Lab → · Contrast checker → · Palette generator →

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