#4F3E92#4F3E92

#4F3E92 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 42.8% C 0.133 H 288.8°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#4F3E92
RGBrgb(79, 62, 146)
HSLhsl(252, 40%, 41%)
HSVhsv(252, 58%, 57%)
CMYKcmyk(45.9%, 57.5%, 0%, 42.7%)
CIE-LABlab(32.22, 29.25, -44.11)
CIE-LCHlch(32.22, 52.93, 303.55°)
OKLaboklab(42.78% 0.0429 -0.1257)
OKLCHoklch(42.78% 0.133 288.8)
XYZxyz(10.1339, 7.1825, 28.0410)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3E92 #81923E
analogous
#3E5792 #4F3E92 #793E92
triadic
#4F3E92 #924F3E #3E924F
tetradic
#4F3E92 #923E57 #81923E #3E9279
square
#4F3E92 #923E57 #81923E #3E9279
split-complementary
#4F3E92 #92793E #57923E
monochromatic
#211A3C #382C67 #4F3E92 #6A56B7 #9081C9

Accessibility & contrast

On white

8.62
#4F3E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4F3E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3E92
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3E92#FFFFFF#000000##FFFFFF
##4F3E921.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4E95
Deuteranopia (green-blind)
#0F4A90
Tritanopia (blue-blind)
#3B5062
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f3e92;
/* rgb */ color: rgb(79, 62, 146);
/* oklch */ color: oklch(42.8% 0.133 288.8);
Tailwind
colors: {
  custom: {
    50: '#8574b2',
    500: '#4f3e92',
    950: '#000000',
  },
}
SCSS
$custom: #4f3e92;
$custom-light: #8574b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3e92",
  "rgb": {
    "r": 79,
    "g": 62,
    "b": 146
  },
  "hsl": {
    "h": 252.143,
    "s": 40.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4278,
    "c": 0.13282,
    "h": 288.8
  },
  "luminance": 0.07183
}

Semantic roles & 50–950 ramp

primary
#4F3E92
secondary
#A8B478
accent
#D058B8
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4F3E92

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

Preview Lab → · Contrast checker → · Palette generator →

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