#4F37B2#4F37B2

#4F37B2 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.2% C 0.184 H 285.0°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#4F37B2
RGBrgb(79, 55, 178)
HSLhsl(252, 53%, 46%)
HSVhsv(252, 69%, 70%)
CMYKcmyk(55.6%, 69.1%, 0%, 30.2%)
CIE-LABlab(33.15, 43.24, -61.89)
CIE-LCHlch(33.15, 75.50, 304.94°)
OKLaboklab(44.24% 0.0476 -0.178)
OKLCHoklch(44.24% 0.184 285)
XYZxyz(12.6241, 7.6083, 42.9142)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F37B2 #9AB237
analogous
#375CB2 #4F37B2 #8C37B2
triadic
#4F37B2 #B24F37 #37B24F
tetradic
#4F37B2 #B2375C #9AB237 #37B28C
square
#4F37B2 #B2375C #9AB237 #37B28C
split-complementary
#4F37B2 #B28C37 #5CB237
monochromatic
#251A54 #3A2983 #4F37B2 #705ACC #9989DB

Accessibility & contrast

On white

8.33
#4F37B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4F37B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F37B2
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F37B2#FFFFFF#000000##FFFFFF
##4F37B21.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#225770
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f37b2;
/* rgb */ color: rgb(79, 55, 178);
/* oklch */ color: oklch(44.2% 0.184 285.0);
Tailwind
colors: {
  custom: {
    50: '#8a70ca',
    500: '#4f37b2',
    950: '#000000',
  },
}
SCSS
$custom: #4f37b2;
$custom-light: #8a70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4f37b2",
  "rgb": {
    "r": 79,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 251.707,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44244,
    "c": 0.18423,
    "h": 285
  },
  "luminance": 0.07609
}

Semantic roles & 50–950 ramp

primary
#4F37B2
secondary
#B7C580
accent
#DC4CC0
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4F37B2

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

Preview Lab → · Contrast checker → · Palette generator →

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