#4F39B7#4F39B7

#4F39B7 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 45.0% C 0.188 H 283.8°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#4F39B7
RGBrgb(79, 57, 183)
HSLhsl(250, 53%, 47%)
HSVhsv(250, 69%, 72%)
CMYKcmyk(56.8%, 68.9%, 0%, 28.2%)
CIE-LABlab(34.00, 43.64, -63.48)
CIE-LCHlch(34.00, 77.03, 304.51°)
OKLaboklab(44.98% 0.045 -0.1826)
OKLCHoklch(44.98% 0.188 283.8)
XYZxyz(13.2322, 8.0066, 45.6387)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F39B7 #A1B739
analogous
#3962B7 #4F39B7 #8E39B7
triadic
#4F39B7 #B74F39 #39B74F
tetradic
#4F39B7 #B73962 #A1B739 #39B78E
square
#4F39B7 #B73962 #A1B739 #39B78E
split-complementary
#4F39B7 #B78E39 #62B739
monochromatic
#271C5A #3B2A88 #4F39B7 #7360CD #9C8EDC

Accessibility & contrast

On white

8.07
#4F39B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4F39B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F39B7
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F39B7#FFFFFF#000000##FFFFFF
##4F39B71.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f39b7;
/* rgb */ color: rgb(79, 57, 183);
/* oklch */ color: oklch(45.0% 0.188 283.8);
Tailwind
colors: {
  custom: {
    50: '#8b71ce',
    500: '#4f39b7',
    950: '#000000',
  },
}
SCSS
$custom: #4f39b7;
$custom-light: #8b71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4f39b7",
  "rgb": {
    "r": 79,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 250.476,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44982,
    "c": 0.1881,
    "h": 283.8
  },
  "luminance": 0.08007
}

Semantic roles & 50–950 ramp

primary
#4F39B7
secondary
#BBC785
accent
#DC4CC3
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4F39B7

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

Preview Lab → · Contrast checker → · Palette generator →

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