#4F39B3#4F39B3

#4F39B3 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.6% C 0.183 H 284.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#4F39B3
RGBrgb(79, 57, 179)
HSLhsl(251, 52%, 46%)
HSVhsv(251, 68%, 70%)
CMYKcmyk(55.9%, 68.2%, 0%, 29.8%)
CIE-LABlab(33.65, 42.41, -61.67)
CIE-LCHlch(33.65, 74.85, 304.52°)
OKLaboklab(44.63% 0.0456 -0.1773)
OKLCHoklch(44.63% 0.183 284.4)
XYZxyz(12.8218, 7.8424, 43.4772)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F39B3 #9DB339
analogous
#3960B3 #4F39B3 #8C39B3
triadic
#4F39B3 #B34F39 #39B34F
tetradic
#4F39B3 #B33960 #9DB339 #39B38C
square
#4F39B3 #B33960 #9DB339 #39B38C
split-complementary
#4F39B3 #B38C39 #60B339
monochromatic
#261B56 #3B2A85 #4F39B3 #715ECC #9A8CDA

Accessibility & contrast

On white

8.18
#4F39B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4F39B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F39B3
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F39B3#FFFFFF#000000##FFFFFF
##4F39B31.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#004BB1
Tritanopia (blue-blind)
#205871
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f39b3;
/* rgb */ color: rgb(79, 57, 179);
/* oklch */ color: oklch(44.6% 0.183 284.4);
Tailwind
colors: {
  custom: {
    50: '#8a71cb',
    500: '#4f39b3',
    950: '#000000',
  },
}
SCSS
$custom: #4f39b3;
$custom-light: #8a71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f39b3",
  "rgb": {
    "r": 79,
    "g": 57,
    "b": 179
  },
  "hsl": {
    "h": 250.82,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44629,
    "c": 0.18311,
    "h": 284.4
  },
  "luminance": 0.07843
}

Semantic roles & 50–950 ramp

primary
#4F39B3
secondary
#B9C583
accent
#DB4DC1
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #4F39B3

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

Preview Lab → · Contrast checker → · Palette generator →

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