#4F37C6#4F37C6

#4F37C6 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.1% C 0.209 H 282.1°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#4F37C6
RGBrgb(79, 55, 198)
HSLhsl(250, 57%, 50%)
HSVhsv(250, 72%, 78%)
CMYKcmyk(60.1%, 72.2%, 0%, 22.4%)
CIE-LABlab(34.94, 49.29, -70.74)
CIE-LCHlch(34.94, 86.22, 304.87°)
OKLaboklab(46.07% 0.0438 -0.2039)
OKLCHoklch(46.07% 0.209 282.1)
XYZxyz(14.7805, 8.4708, 54.2713)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F37C6 #AEC637
analogous
#3767C6 #4F37C6 #9737C6
triadic
#4F37C6 #C64F37 #37C64F
tetradic
#4F37C6 #C63767 #AEC637 #37C697
square
#4F37C6 #C63767 #AEC637 #37C697
split-complementary
#4F37C6 #C69737 #67C637
monochromatic
#291C66 #3C2A96 #4F37C6 #7866D4 #A296E2

Accessibility & contrast

On white

7.79
#4F37C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4F37C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F37C6
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F37C6#FFFFFF#000000##FFFFFF
##4F37C61.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CA
Deuteranopia (green-blind)
#004DC3
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f37c6;
/* rgb */ color: rgb(79, 55, 198);
/* oklch */ color: oklch(46.1% 0.209 282.1);
Tailwind
colors: {
  custom: {
    50: '#8e71d8',
    500: '#4f37c6',
    950: '#000000',
  },
}
SCSS
$custom: #4f37c6;
$custom-light: #8e71d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f37c6",
  "rgb": {
    "r": 79,
    "g": 55,
    "b": 198
  },
  "hsl": {
    "h": 250.07,
    "s": 56.522,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46069,
    "c": 0.20855,
    "h": 282.1
  },
  "luminance": 0.08472
}

Semantic roles & 50–950 ramp

primary
#4F37C6
secondary
#C2CD8C
accent
#E048C6
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4F37C6

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

Preview Lab → · Contrast checker → · Palette generator →

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