#4F37BC#4F37BC

#4F37BC is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.1% C 0.197 H 283.5°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#4F37BC
RGBrgb(79, 55, 188)
HSLhsl(251, 55%, 48%)
HSVhsv(251, 71%, 74%)
CMYKcmyk(58%, 70.7%, 0%, 26.3%)
CIE-LABlab(34.03, 46.27, -66.37)
CIE-LCHlch(34.03, 80.90, 304.88°)
OKLaboklab(45.14% 0.0458 -0.1911)
OKLCHoklch(45.14% 0.197 283.5)
XYZxyz(13.6649, 8.0246, 48.3960)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F37BC #A4BC37
analogous
#3761BC #4F37BC #9137BC
triadic
#4F37BC #BC4F37 #37BC4F
tetradic
#4F37BC #BC3761 #A4BC37 #37BC91
square
#4F37BC #BC3761 #A4BC37 #37BC91
split-complementary
#4F37BC #BC9137 #61BC37
monochromatic
#271B5D #3B298D #4F37BC #7460D0 #9D8FDE

Accessibility & contrast

On white

8.06
#4F37BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4F37BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F37BC
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F37BC#FFFFFF#000000##FFFFFF
##4F37BC1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#004CB9
Tritanopia (blue-blind)
#105B76
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f37bc;
/* rgb */ color: rgb(79, 55, 188);
/* oklch */ color: oklch(45.1% 0.197 283.5);
Tailwind
colors: {
  custom: {
    50: '#8c70d1',
    500: '#4f37bc',
    950: '#000000',
  },
}
SCSS
$custom: #4f37bc;
$custom-light: #8c70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f37bc",
  "rgb": {
    "r": 79,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 250.827,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45144,
    "c": 0.19651,
    "h": 283.5
  },
  "luminance": 0.08025
}

Semantic roles & 50–950 ramp

primary
#4F37BC
secondary
#BDC986
accent
#DE4AC3
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4F37BC

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

Preview Lab → · Contrast checker → · Palette generator →

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