#4F37C7#4F37C7

#4F37C7 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.2% C 0.210 H 282.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#4F37C7
RGBrgb(79, 55, 199)
HSLhsl(250, 57%, 50%)
HSVhsv(250, 72%, 78%)
CMYKcmyk(60.3%, 72.4%, 0%, 22%)
CIE-LABlab(35.04, 49.59, -71.17)
CIE-LCHlch(35.04, 86.74, 304.87°)
OKLaboklab(46.16% 0.0436 -0.2052)
OKLCHoklch(46.16% 0.21 282)
XYZxyz(14.8962, 8.5171, 54.8808)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F37C7 #AFC737
analogous
#3767C7 #4F37C7 #9737C7
triadic
#4F37C7 #C74F37 #37C74F
tetradic
#4F37C7 #C73767 #AFC737 #37C797
square
#4F37C7 #C73767 #AFC737 #37C797
split-complementary
#4F37C7 #C79737 #67C737
monochromatic
#291C67 #3C2A97 #4F37C7 #7966D5 #A396E2

Accessibility & contrast

On white

7.77
#4F37C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4F37C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F37C7
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F37C7#FFFFFF#000000##FFFFFF
##4F37C71.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CB
Deuteranopia (green-blind)
#004DC4
Tritanopia (blue-blind)
#005F7C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f37c7;
/* rgb */ color: rgb(79, 55, 199);
/* oklch */ color: oklch(46.2% 0.210 282.0);
Tailwind
colors: {
  custom: {
    50: '#8e71d9',
    500: '#4f37c7',
    950: '#000000',
  },
}
SCSS
$custom: #4f37c7;
$custom-light: #8e71d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f37c7",
  "rgb": {
    "r": 79,
    "g": 55,
    "b": 199
  },
  "hsl": {
    "h": 250,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46163,
    "c": 0.20975,
    "h": 282
  },
  "luminance": 0.08518
}

Semantic roles & 50–950 ramp

primary
#4F37C7
secondary
#C3CD8C
accent
#E048C7
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4F37C7

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

Preview Lab → · Contrast checker → · Palette generator →

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