#4F37C5#4F37C5

#4F37C5 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.0% C 0.207 H 282.3°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#4F37C5
RGBrgb(79, 55, 197)
HSLhsl(250, 56%, 49%)
HSVhsv(250, 72%, 77%)
CMYKcmyk(59.9%, 72.1%, 0%, 22.7%)
CIE-LABlab(34.85, 48.99, -70.31)
CIE-LCHlch(34.85, 85.69, 304.87°)
OKLaboklab(45.98% 0.044 -0.2026)
OKLCHoklch(45.98% 0.207 282.3)
XYZxyz(14.6655, 8.4249, 53.6658)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F37C5 #ADC537
analogous
#3766C5 #4F37C5 #9637C5
triadic
#4F37C5 #C54F37 #37C54F
tetradic
#4F37C5 #C53766 #ADC537 #37C596
square
#4F37C5 #C53766 #ADC537 #37C596
split-complementary
#4F37C5 #C59637 #66C537
monochromatic
#291C65 #3C2A95 #4F37C5 #7865D4 #A295E1

Accessibility & contrast

On white

7.82
#4F37C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F37C5
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F37C5#FFFFFF#000000##FFFFFF
##4F37C51.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f37c5;
/* rgb */ color: rgb(79, 55, 197);
/* oklch */ color: oklch(46.0% 0.207 282.3);
Tailwind
colors: {
  custom: {
    50: '#8e70d8',
    500: '#4f37c5',
    950: '#000000',
  },
}
SCSS
$custom: #4f37c5;
$custom-light: #8e70d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f37c5",
  "rgb": {
    "r": 79,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 250.141,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45976,
    "c": 0.20736,
    "h": 282.3
  },
  "luminance": 0.08426
}

Semantic roles & 50–950 ramp

primary
#4F37C5
secondary
#C2CD8B
accent
#E048C6
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4F37C5

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

Preview Lab → · Contrast checker → · Palette generator →

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