#4F37BE#4F37BE

#4F37BE is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.3% C 0.199 H 283.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#4F37BE
RGBrgb(79, 55, 190)
HSLhsl(251, 55%, 48%)
HSVhsv(251, 71%, 75%)
CMYKcmyk(58.4%, 71.1%, 0%, 25.5%)
CIE-LABlab(34.21, 46.88, -67.25)
CIE-LCHlch(34.21, 81.97, 304.88°)
OKLaboklab(45.33% 0.0454 -0.1937)
OKLCHoklch(45.33% 0.199 283.2)
XYZxyz(13.8820, 8.1114, 49.5394)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F37BE #A6BE37
analogous
#3762BE #4F37BE #9337BE
triadic
#4F37BE #BE4F37 #37BE4F
tetradic
#4F37BE #BE3762 #A6BE37 #37BE93
square
#4F37BE #BE3762 #A6BE37 #37BE93
split-complementary
#4F37BE #BE9337 #62BE37
monochromatic
#281C5F #3B298F #4F37BE #7561D1 #9E90DF

Accessibility & contrast

On white

8.01
#4F37BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4F37BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F37BE
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F37BE#FFFFFF#000000##FFFFFF
##4F37BE1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C2
Deuteranopia (green-blind)
#004CBB
Tritanopia (blue-blind)
#0A5B77
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f37be;
/* rgb */ color: rgb(79, 55, 190);
/* oklch */ color: oklch(45.3% 0.199 283.2);
Tailwind
colors: {
  custom: {
    50: '#8c70d3',
    500: '#4f37be',
    950: '#000000',
  },
}
SCSS
$custom: #4f37be;
$custom-light: #8c70d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f37be",
  "rgb": {
    "r": 79,
    "g": 55,
    "b": 190
  },
  "hsl": {
    "h": 250.667,
    "s": 55.102,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45327,
    "c": 0.19894,
    "h": 283.2
  },
  "luminance": 0.08112
}

Semantic roles & 50–950 ramp

primary
#4F37BE
secondary
#BECA87
accent
#DE49C4
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4F37BE

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

Preview Lab → · Contrast checker → · Palette generator →

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