#4F37BA#4F37BA

#4F37BA is a dark, vivid violet. Relative luminance 0.079; OKLCH L 45.0% C 0.194 H 283.8°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#4F37BA
RGBrgb(79, 55, 186)
HSLhsl(251, 54%, 47%)
HSVhsv(251, 70%, 73%)
CMYKcmyk(57.5%, 70.4%, 0%, 27.1%)
CIE-LABlab(33.86, 45.66, -65.48)
CIE-LCHlch(33.86, 79.83, 304.89°)
OKLaboklab(44.96% 0.0462 -0.1885)
OKLCHoklch(44.96% 0.194 283.8)
XYZxyz(13.4508, 7.9390, 47.2684)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F37BA #A2BA37
analogous
#3761BA #4F37BA #9037BA
triadic
#4F37BA #BA4F37 #37BA4F
tetradic
#4F37BA #BA3761 #A2BA37 #37BA90
square
#4F37BA #BA3761 #A2BA37 #37BA90
split-complementary
#4F37BA #BA9037 #61BA37
monochromatic
#271B5C #3B298B #4F37BA #735FD0 #9C8EDE

Accessibility & contrast

On white

8.11
#4F37BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4F37BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F37BA
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F37BA#FFFFFF#000000##FFFFFF
##4F37BA1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#004BB8
Tritanopia (blue-blind)
#155A74
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f37ba;
/* rgb */ color: rgb(79, 55, 186);
/* oklch */ color: oklch(45.0% 0.194 283.8);
Tailwind
colors: {
  custom: {
    50: '#8c70d0',
    500: '#4f37ba',
    950: '#000000',
  },
}
SCSS
$custom: #4f37ba;
$custom-light: #8c70d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f37ba",
  "rgb": {
    "r": 79,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 250.992,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44962,
    "c": 0.19408,
    "h": 283.8
  },
  "luminance": 0.0794
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F37BA

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

Preview Lab → · Contrast checker → · Palette generator →

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