#4F37C3#4F37C3

#4F37C3 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 45.8% C 0.205 H 282.5°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#4F37C3
RGBrgb(79, 55, 195)
HSLhsl(250, 56%, 49%)
HSVhsv(250, 72%, 76%)
CMYKcmyk(59.5%, 71.8%, 0%, 23.5%)
CIE-LABlab(34.67, 48.38, -69.44)
CIE-LCHlch(34.67, 84.63, 304.87°)
OKLaboklab(45.79% 0.0444 -0.2001)
OKLCHoklch(45.79% 0.205 282.5)
XYZxyz(14.4379, 8.3338, 52.4670)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F37C3 #ABC337
analogous
#3765C3 #4F37C3 #9537C3
triadic
#4F37C3 #C34F37 #37C34F
tetradic
#4F37C3 #C33765 #ABC337 #37C395
square
#4F37C3 #C33765 #ABC337 #37C395
split-complementary
#4F37C3 #C39537 #65C337
monochromatic
#281C64 #3C2A93 #4F37C3 #7764D3 #A194E1

Accessibility & contrast

On white

7.87
#4F37C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4F37C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F37C3
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F37C3#FFFFFF#000000##FFFFFF
##4F37C31.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C7
Deuteranopia (green-blind)
#004DC0
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f37c3;
/* rgb */ color: rgb(79, 55, 195);
/* oklch */ color: oklch(45.8% 0.205 282.5);
Tailwind
colors: {
  custom: {
    50: '#8d70d6',
    500: '#4f37c3',
    950: '#000000',
  },
}
SCSS
$custom: #4f37c3;
$custom-light: #8d70d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f37c3",
  "rgb": {
    "r": 79,
    "g": 55,
    "b": 195
  },
  "hsl": {
    "h": 250.286,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45789,
    "c": 0.20497,
    "h": 282.5
  },
  "luminance": 0.08335
}

Semantic roles & 50–950 ramp

primary
#4F37C3
secondary
#C1CC8A
accent
#DF49C5
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4F37C3

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

Preview Lab → · Contrast checker → · Palette generator →

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