#4F39B9#4F39B9

#4F39B9 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.2% C 0.191 H 283.6°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#4F39B9
RGBrgb(79, 57, 185)
HSLhsl(250, 53%, 47%)
HSVhsv(250, 69%, 73%)
CMYKcmyk(57.3%, 69.2%, 0%, 27.5%)
CIE-LABlab(34.17, 44.25, -64.37)
CIE-LCHlch(34.17, 78.11, 304.50°)
OKLaboklab(45.16% 0.0447 -0.1853)
OKLCHoklch(45.16% 0.191 283.6)
XYZxyz(13.4418, 8.0905, 46.7428)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F39B9 #A3B939
analogous
#3963B9 #4F39B9 #8F39B9
triadic
#4F39B9 #B94F39 #39B94F
tetradic
#4F39B9 #B93963 #A3B939 #39B98F
square
#4F39B9 #B93963 #A3B939 #39B98F
split-complementary
#4F39B9 #B98F39 #63B939
monochromatic
#271C5B #3B2B8A #4F39B9 #7461CE #9D90DD

Accessibility & contrast

On white

8.02
#4F39B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F39B9
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F39B9#FFFFFF#000000##FFFFFF
##4F39B91.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BD
Deuteranopia (green-blind)
#004CB7
Tritanopia (blue-blind)
#165B74
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f39b9;
/* rgb */ color: rgb(79, 57, 185);
/* oklch */ color: oklch(45.2% 0.191 283.6);
Tailwind
colors: {
  custom: {
    50: '#8b71cf',
    500: '#4f39b9',
    950: '#000000',
  },
}
SCSS
$custom: #4f39b9;
$custom-light: #8b71cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f39b9",
  "rgb": {
    "r": 79,
    "g": 57,
    "b": 185
  },
  "hsl": {
    "h": 250.313,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.4516,
    "c": 0.19058,
    "h": 283.6
  },
  "luminance": 0.08091
}

Semantic roles & 50–950 ramp

primary
#4F39B9
secondary
#BCC886
accent
#DC4BC3
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4F39B9

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

Preview Lab → · Contrast checker → · Palette generator →

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