#4F3AB7#4F3AB7

#4F3AB7 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.1% C 0.187 H 283.7°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#4F3AB7
RGBrgb(79, 58, 183)
HSLhsl(250, 52%, 47%)
HSVhsv(250, 68%, 72%)
CMYKcmyk(56.8%, 68.3%, 0%, 28.2%)
CIE-LABlab(34.20, 43.07, -63.14)
CIE-LCHlch(34.20, 76.43, 304.30°)
OKLaboklab(45.13% 0.0441 -0.1816)
OKLCHoklch(45.13% 0.187 283.7)
XYZxyz(13.2821, 8.1065, 45.6554)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3AB7 #A2B73A
analogous
#3A64B7 #4F3AB7 #8E3AB7
triadic
#4F3AB7 #B74F3A #3AB74F
tetradic
#4F3AB7 #B73A64 #A2B73A #3AB78E
square
#4F3AB7 #B73A64 #A2B73A #3AB78E
split-complementary
#4F3AB7 #B78E3A #64B73A
monochromatic
#271D5A #3B2B89 #4F3AB7 #7361CD #9C90DC

Accessibility & contrast

On white

8.01
#4F3AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4F3AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3AB7
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3AB7#FFFFFF#000000##FFFFFF
##4F3AB71.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#004CB5
Tritanopia (blue-blind)
#1A5A74
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f3ab7;
/* rgb */ color: rgb(79, 58, 183);
/* oklch */ color: oklch(45.1% 0.187 283.7);
Tailwind
colors: {
  custom: {
    50: '#8b72ce',
    500: '#4f3ab7',
    950: '#000000',
  },
}
SCSS
$custom: #4f3ab7;
$custom-light: #8b72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3ab7",
  "rgb": {
    "r": 79,
    "g": 58,
    "b": 183
  },
  "hsl": {
    "h": 250.08,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4513,
    "c": 0.18693,
    "h": 283.7
  },
  "luminance": 0.08107
}

Semantic roles & 50–950 ramp

primary
#4F3AB7
secondary
#BCC786
accent
#DB4CC3
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4F3AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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