#4F3F92#4F3F92

#4F3F92 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.0% C 0.131 H 288.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#4F3F92
RGBrgb(79, 63, 146)
HSLhsl(252, 40%, 41%)
HSVhsv(252, 57%, 57%)
CMYKcmyk(45.9%, 56.8%, 0%, 42.7%)
CIE-LABlab(32.46, 28.63, -43.72)
CIE-LCHlch(32.46, 52.25, 303.22°)
OKLaboklab(42.96% 0.0416 -0.1245)
OKLCHoklch(42.96% 0.131 288.5)
XYZxyz(10.1888, 7.2922, 28.0592)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3F92 #82923F
analogous
#3F5892 #4F3F92 #783F92
triadic
#4F3F92 #924F3F #3F924F
tetradic
#4F3F92 #923F58 #82923F #3F9278
square
#4F3F92 #923F58 #82923F #3F9278
split-complementary
#4F3F92 #92783F #58923F
monochromatic
#211A3C #382D67 #4F3F92 #6A57B7 #9082C9

Accessibility & contrast

On white

8.54
#4F3F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4F3F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3F92
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3F92#FFFFFF#000000##FFFFFF
##4F3F921.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104E95
Deuteranopia (green-blind)
#124A90
Tritanopia (blue-blind)
#3A5162
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f3f92;
/* rgb */ color: rgb(79, 63, 146);
/* oklch */ color: oklch(43.0% 0.131 288.5);
Tailwind
colors: {
  custom: {
    50: '#8574b2',
    500: '#4f3f92',
    950: '#000000',
  },
}
SCSS
$custom: #4f3f92;
$custom-light: #8574b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3f92",
  "rgb": {
    "r": 79,
    "g": 63,
    "b": 146
  },
  "hsl": {
    "h": 251.566,
    "s": 39.713,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4296,
    "c": 0.13132,
    "h": 288.5
  },
  "luminance": 0.07293
}

Semantic roles & 50–950 ramp

primary
#4F3F92
secondary
#A8B379
accent
#D058B9
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4F3F92

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

Preview Lab → · Contrast checker → · Palette generator →

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