#4F37AF#4F37AF

#4F37AF is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.0% C 0.180 H 285.4°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#4F37AF
RGBrgb(79, 55, 175)
HSLhsl(252, 52%, 45%)
HSVhsv(252, 69%, 69%)
CMYKcmyk(54.9%, 68.6%, 0%, 31.4%)
CIE-LABlab(32.90, 42.33, -60.53)
CIE-LCHlch(32.90, 73.86, 304.97°)
OKLaboklab(43.98% 0.0481 -0.174)
OKLCHoklch(43.98% 0.181 285.4)
XYZxyz(12.3262, 7.4891, 41.3452)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F37AF #97AF37
analogous
#375BAF #4F37AF #8B37AF
triadic
#4F37AF #AF4F37 #37AF4F
tetradic
#4F37AF #AF375B #97AF37 #37AF8B
square
#4F37AF #AF375B #97AF37 #37AF8B
split-complementary
#4F37AF #AF8B37 #5BAF37
monochromatic
#251A52 #3A2880 #4F37AF #6F59CB #9887D9

Accessibility & contrast

On white

8.41
#4F37AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4F37AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F37AF
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F37AF#FFFFFF#000000##FFFFFF
##4F37AF1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#004AAD
Tritanopia (blue-blind)
#25566E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f37af;
/* rgb */ color: rgb(79, 55, 175);
/* oklch */ color: oklch(44.0% 0.180 285.4);
Tailwind
colors: {
  custom: {
    50: '#8a70c8',
    500: '#4f37af',
    950: '#000000',
  },
}
SCSS
$custom: #4f37af;
$custom-light: #8a70c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f37af",
  "rgb": {
    "r": 79,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 252,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43979,
    "c": 0.1805,
    "h": 285.4
  },
  "luminance": 0.0749
}

Semantic roles & 50–950 ramp

primary
#4F37AF
secondary
#B6C37F
accent
#DC4CBF
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4F37AF

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

Preview Lab → · Contrast checker → · Palette generator →

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