#4F39BD#4F39BD

#4F39BD is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.5% C 0.196 H 283.0°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#4F39BD
RGBrgb(79, 57, 189)
HSLhsl(250, 54%, 48%)
HSVhsv(250, 70%, 74%)
CMYKcmyk(58.2%, 69.8%, 0%, 25.9%)
CIE-LABlab(34.52, 45.47, -66.16)
CIE-LCHlch(34.52, 80.28, 304.50°)
OKLaboklab(45.52% 0.044 -0.1905)
OKLCHoklch(45.52% 0.196 283)
XYZxyz(13.8700, 8.2617, 48.9980)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F39BD #A7BD39
analogous
#3965BD #4F39BD #9139BD
triadic
#4F39BD #BD4F39 #39BD4F
tetradic
#4F39BD #BD3965 #A7BD39 #39BD91
square
#4F39BD #BD3965 #A7BD39 #39BD91
split-complementary
#4F39BD #BD9139 #65BD39
monochromatic
#281D5F #3B2B8E #4F39BD #7563D0 #9F92DE

Accessibility & contrast

On white

7.92
#4F39BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4F39BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F39BD
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F39BD#FFFFFF#000000##FFFFFF
##4F39BD1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#0D5C77
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4f39bd;
/* rgb */ color: rgb(79, 57, 189);
/* oklch */ color: oklch(45.5% 0.196 283.0);
Tailwind
colors: {
  custom: {
    50: '#8c71d2',
    500: '#4f39bd',
    950: '#000000',
  },
}
SCSS
$custom: #4f39bd;
$custom-light: #8c71d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f39bd",
  "rgb": {
    "r": 79,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 250,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4552,
    "c": 0.1955,
    "h": 283
  },
  "luminance": 0.08263
}

Semantic roles & 50–950 ramp

primary
#4F39BD
secondary
#BEC989
accent
#DD4BC5
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4F39BD

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

Preview Lab → · Contrast checker → · Palette generator →

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