#4F39BA#4F39BA

#4F39BA is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.3% C 0.192 H 283.4°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#4F39BA
RGBrgb(79, 57, 186)
HSLhsl(250, 53%, 48%)
HSVhsv(250, 69%, 73%)
CMYKcmyk(57.5%, 69.4%, 0%, 27.1%)
CIE-LABlab(34.26, 44.56, -64.82)
CIE-LCHlch(34.26, 78.66, 304.50°)
OKLaboklab(45.25% 0.0445 -0.1866)
OKLCHoklch(45.25% 0.192 283.4)
XYZxyz(13.5478, 8.1328, 47.3008)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F39BA #A4BA39
analogous
#3963BA #4F39BA #9039BA
triadic
#4F39BA #BA4F39 #39BA4F
tetradic
#4F39BA #BA3963 #A4BA39 #39BA90
square
#4F39BA #BA3963 #A4BA39 #39BA90
split-complementary
#4F39BA #BA9039 #63BA39
monochromatic
#271C5C #3B2B8B #4F39BA #7461CF #9D90DD

Accessibility & contrast

On white

7.99
#4F39BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4F39BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F39BA
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F39BA#FFFFFF#000000##FFFFFF
##4F39BA1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#145B75
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4f39ba;
/* rgb */ color: rgb(79, 57, 186);
/* oklch */ color: oklch(45.3% 0.192 283.4);
Tailwind
colors: {
  custom: {
    50: '#8c71d0',
    500: '#4f39ba',
    950: '#000000',
  },
}
SCSS
$custom: #4f39ba;
$custom-light: #8c71d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f39ba",
  "rgb": {
    "r": 79,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 250.233,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4525,
    "c": 0.19182,
    "h": 283.4
  },
  "luminance": 0.08134
}

Semantic roles & 50–950 ramp

primary
#4F39BA
secondary
#BDC887
accent
#DC4BC4
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4F39BA

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

Preview Lab → · Contrast checker → · Palette generator →

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