#4F37AB#4F37AB

#4F37AB is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.6% C 0.175 H 286.1°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#4F37AB
RGBrgb(79, 55, 171)
HSLhsl(252, 51%, 44%)
HSVhsv(252, 68%, 67%)
CMYKcmyk(53.8%, 67.8%, 0%, 32.9%)
CIE-LABlab(32.56, 41.11, -58.69)
CIE-LCHlch(32.56, 71.66, 305.01°)
OKLaboklab(43.63% 0.0487 -0.1686)
OKLCHoklch(43.63% 0.175 286.1)
XYZxyz(11.9391, 7.3343, 39.3067)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F37AB #93AB37
analogous
#3759AB #4F37AB #8937AB
triadic
#4F37AB #AB4F37 #37AB4F
tetradic
#4F37AB #AB3759 #93AB37 #37AB89
square
#4F37AB #AB3759 #93AB37 #37AB89
split-complementary
#4F37AB #AB8937 #59AB37
monochromatic
#24194E #3A287D #4F37AB #6E56C9 #9685D8

Accessibility & contrast

On white

8.51
#4F37AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4F37AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F37AB
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F37AB#FFFFFF#000000##FFFFFF
##4F37AB1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0049A9
Tritanopia (blue-blind)
#29546C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f37ab;
/* rgb */ color: rgb(79, 55, 171);
/* oklch */ color: oklch(43.6% 0.175 286.1);
Tailwind
colors: {
  custom: {
    50: '#8970c5',
    500: '#4f37ab',
    950: '#000000',
  },
}
SCSS
$custom: #4f37ab;
$custom-light: #8970c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f37ab",
  "rgb": {
    "r": 79,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 252.414,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4363,
    "c": 0.17547,
    "h": 286.1
  },
  "luminance": 0.07335
}

Semantic roles & 50–950 ramp

primary
#4F37AB
secondary
#B3C17C
accent
#DB4DBD
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4F37AB

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

Preview Lab → · Contrast checker → · Palette generator →

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