#4F37BB#4F37BB

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

Color values

HEX#4F37BB
RGBrgb(79, 55, 187)
HSLhsl(251, 55%, 47%)
HSVhsv(251, 71%, 73%)
CMYKcmyk(57.8%, 70.6%, 0%, 26.7%)
CIE-LABlab(33.94, 45.97, -65.92)
CIE-LCHlch(33.94, 80.37, 304.89°)
OKLaboklab(45.05% 0.046 -0.1898)
OKLCHoklch(45.05% 0.195 283.6)
XYZxyz(13.5575, 7.9816, 47.8303)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F37BB #A3BB37
analogous
#3761BB #4F37BB #9137BB
triadic
#4F37BB #BB4F37 #37BB4F
tetradic
#4F37BB #BB3761 #A3BB37 #37BB91
square
#4F37BB #BB3761 #A3BB37 #37BB91
split-complementary
#4F37BB #BB9137 #61BB37
monochromatic
#271B5C #3B298C #4F37BB #745FD0 #9D8EDE

Accessibility & contrast

On white

8.09
#4F37BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4F37BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F37BB
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F37BB#FFFFFF#000000##FFFFFF
##4F37BB1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#004BB8
Tritanopia (blue-blind)
#135A75
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f37bb;
/* rgb */ color: rgb(79, 55, 187);
/* oklch */ color: oklch(45.1% 0.195 283.6);
Tailwind
colors: {
  custom: {
    50: '#8c70d1',
    500: '#4f37bb',
    950: '#000000',
  },
}
SCSS
$custom: #4f37bb;
$custom-light: #8c70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f37bb",
  "rgb": {
    "r": 79,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 250.909,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45053,
    "c": 0.1953,
    "h": 283.6
  },
  "luminance": 0.07982
}

Semantic roles & 50–950 ramp

primary
#4F37BB
secondary
#BCC985
accent
#DE4AC3
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4F37BB

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

Preview Lab → · Contrast checker → · Palette generator →

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