#4F39BC#4F39BC

#4F39BC is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.4% C 0.194 H 283.1°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#4F39BC
RGBrgb(79, 57, 188)
HSLhsl(250, 53%, 48%)
HSVhsv(250, 70%, 74%)
CMYKcmyk(58%, 69.7%, 0%, 26.3%)
CIE-LABlab(34.43, 45.17, -65.71)
CIE-LCHlch(34.43, 79.74, 304.50°)
OKLaboklab(45.43% 0.0442 -0.1892)
OKLCHoklch(45.43% 0.194 283.1)
XYZxyz(13.7619, 8.2185, 48.4283)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F39BC #A6BC39
analogous
#3965BC #4F39BC #9039BC
triadic
#4F39BC #BC4F39 #39BC4F
tetradic
#4F39BC #BC3965 #A6BC39 #39BC90
square
#4F39BC #BC3965 #A6BC39 #39BC90
split-complementary
#4F39BC #BC9039 #65BC39
monochromatic
#281D5E #3B2B8D #4F39BC #7563D0 #9E92DE

Accessibility & contrast

On white

7.94
#4F39BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4F39BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F39BC
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F39BC#FFFFFF#000000##FFFFFF
##4F39BC1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C0
Deuteranopia (green-blind)
#004DB9
Tritanopia (blue-blind)
#105C76
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4f39bc;
/* rgb */ color: rgb(79, 57, 188);
/* oklch */ color: oklch(45.4% 0.194 283.1);
Tailwind
colors: {
  custom: {
    50: '#8c71d1',
    500: '#4f39bc',
    950: '#000000',
  },
}
SCSS
$custom: #4f39bc;
$custom-light: #8c71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f39bc",
  "rgb": {
    "r": 79,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 250.076,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45429,
    "c": 0.19428,
    "h": 283.1
  },
  "luminance": 0.08219
}

Semantic roles & 50–950 ramp

primary
#4F39BC
secondary
#BEC988
accent
#DD4BC4
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4F39BC

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

Preview Lab → · Contrast checker → · Palette generator →

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