#4D37AF#4D37AF

#4D37AF is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.8% C 0.181 H 284.5°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#4D37AF
RGBrgb(77, 55, 175)
HSLhsl(251, 52%, 45%)
HSVhsv(251, 69%, 69%)
CMYKcmyk(56%, 68.6%, 0%, 31.4%)
CIE-LABlab(32.71, 42.00, -60.83)
CIE-LCHlch(32.71, 73.92, 304.62°)
OKLaboklab(43.8% 0.0453 -0.1749)
OKLCHoklch(43.8% 0.181 284.5)
XYZxyz(12.1623, 7.4046, 41.3375)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D37AF #99AF37
analogous
#375DAF #4D37AF #8937AF
triadic
#4D37AF #AF4D37 #37AF4D
tetradic
#4D37AF #AF375D #99AF37 #37AF89
square
#4D37AF #AF375D #99AF37 #37AF89
split-complementary
#4D37AF #AF8937 #5DAF37
monochromatic
#241A52 #392880 #4D37AF #6D59CB #9687D9

Accessibility & contrast

On white

8.46
#4D37AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4D37AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D37AF
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D37AF#FFFFFF#000000##FFFFFF
##4D37AF1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#1F566E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d37af;
/* rgb */ color: rgb(77, 55, 175);
/* oklch */ color: oklch(43.8% 0.181 284.5);
Tailwind
colors: {
  custom: {
    50: '#8970c8',
    500: '#4d37af',
    950: '#000000',
  },
}
SCSS
$custom: #4d37af;
$custom-light: #8970c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d37af",
  "rgb": {
    "r": 77,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 251,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43802,
    "c": 0.18071,
    "h": 284.5
  },
  "luminance": 0.07405
}

Semantic roles & 50–950 ramp

primary
#4D37AF
secondary
#B7C37F
accent
#DC4CC1
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4D37AF

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

Preview Lab → · Contrast checker → · Palette generator →

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