#4D37B2#4D37B2

#4D37B2 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.1% C 0.184 H 284.0°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#4D37B2
RGBrgb(77, 55, 178)
HSLhsl(251, 53%, 46%)
HSVhsv(251, 69%, 70%)
CMYKcmyk(56.7%, 69.1%, 0%, 30.2%)
CIE-LABlab(32.97, 42.92, -62.20)
CIE-LCHlch(32.97, 75.57, 304.61°)
OKLaboklab(44.07% 0.0448 -0.1789)
OKLCHoklch(44.07% 0.184 284)
XYZxyz(12.4602, 7.5238, 42.9065)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D37B2 #9CB237
analogous
#375EB2 #4D37B2 #8A37B2
triadic
#4D37B2 #B24D37 #37B24D
tetradic
#4D37B2 #B2375E #9CB237 #37B28A
square
#4D37B2 #B2375E #9CB237 #37B28A
split-complementary
#4D37B2 #B28A37 #5EB237
monochromatic
#251A54 #392983 #4D37B2 #6F5ACC #9789DB

Accessibility & contrast

On white

8.38
#4D37B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4D37B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D37B2
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D37B2#FFFFFF#000000##FFFFFF
##4D37B21.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d37b2;
/* rgb */ color: rgb(77, 55, 178);
/* oklch */ color: oklch(44.1% 0.184 284.0);
Tailwind
colors: {
  custom: {
    50: '#8970ca',
    500: '#4d37b2',
    950: '#000000',
  },
}
SCSS
$custom: #4d37b2;
$custom-light: #8970ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4d37b2",
  "rgb": {
    "r": 77,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 250.732,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44068,
    "c": 0.18445,
    "h": 284
  },
  "luminance": 0.07525
}

Semantic roles & 50–950 ramp

primary
#4D37B2
secondary
#B8C580
accent
#DC4CC2
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4D37B2

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

Preview Lab → · Contrast checker → · Palette generator →

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