#4F37AC#4F37AC

#4F37AC is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.7% C 0.177 H 285.9°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#4F37AC
RGBrgb(79, 55, 172)
HSLhsl(252, 52%, 45%)
HSVhsv(252, 68%, 67%)
CMYKcmyk(54.1%, 68%, 0%, 32.5%)
CIE-LABlab(32.64, 41.42, -59.15)
CIE-LCHlch(32.64, 72.21, 305.00°)
OKLaboklab(43.72% 0.0485 -0.1699)
OKLCHoklch(43.72% 0.177 285.9)
XYZxyz(12.0348, 7.3726, 39.8106)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F37AC #94AC37
analogous
#3759AC #4F37AC #8A37AC
triadic
#4F37AC #AC4F37 #37AC4F
tetradic
#4F37AC #AC3759 #94AC37 #37AC8A
square
#4F37AC #AC3759 #94AC37 #37AC8A
split-complementary
#4F37AC #AC8A37 #59AC37
monochromatic
#24194F #3A287E #4F37AC #6E57C9 #9685D8

Accessibility & contrast

On white

8.49
#4F37AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F37AC
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F37AC#FFFFFF#000000##FFFFFF
##4F37AC1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#28556D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f37ac;
/* rgb */ color: rgb(79, 55, 172);
/* oklch */ color: oklch(43.7% 0.177 285.9);
Tailwind
colors: {
  custom: {
    50: '#8970c6',
    500: '#4f37ac',
    950: '#000000',
  },
}
SCSS
$custom: #4f37ac;
$custom-light: #8970c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f37ac",
  "rgb": {
    "r": 79,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 252.308,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43717,
    "c": 0.17673,
    "h": 285.9
  },
  "luminance": 0.07373
}

Semantic roles & 50–950 ramp

primary
#4F37AC
secondary
#B4C27D
accent
#DB4DBE
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4F37AC

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

Preview Lab → · Contrast checker → · Palette generator →

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