#4F37BD#4F37BD

#4F37BD is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.2% C 0.198 H 283.3°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#4F37BD
RGBrgb(79, 55, 189)
HSLhsl(251, 55%, 48%)
HSVhsv(251, 71%, 74%)
CMYKcmyk(58.2%, 70.9%, 0%, 25.9%)
CIE-LABlab(34.12, 46.57, -66.81)
CIE-LCHlch(34.12, 81.44, 304.88°)
OKLaboklab(45.24% 0.0456 -0.1924)
OKLCHoklch(45.24% 0.198 283.3)
XYZxyz(13.7731, 8.0679, 48.9657)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F37BD #A5BD37
analogous
#3762BD #4F37BD #9237BD
triadic
#4F37BD #BD4F37 #37BD4F
tetradic
#4F37BD #BD3762 #A5BD37 #37BD92
square
#4F37BD #BD3762 #A5BD37 #37BD92
split-complementary
#4F37BD #BD9237 #62BD37
monochromatic
#271B5E #3B298E #4F37BD #7560D1 #9E90DF

Accessibility & contrast

On white

8.03
#4F37BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F37BD
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F37BD#FFFFFF#000000##FFFFFF
##4F37BD1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#004CBA
Tritanopia (blue-blind)
#0E5B76
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f37bd;
/* rgb */ color: rgb(79, 55, 189);
/* oklch */ color: oklch(45.2% 0.198 283.3);
Tailwind
colors: {
  custom: {
    50: '#8c70d2',
    500: '#4f37bd',
    950: '#000000',
  },
}
SCSS
$custom: #4f37bd;
$custom-light: #8c70d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f37bd",
  "rgb": {
    "r": 79,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 250.746,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45235,
    "c": 0.19773,
    "h": 283.3
  },
  "luminance": 0.08069
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F37BD

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

Preview Lab → · Contrast checker → · Palette generator →

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