#4F37A3#4F37A3

#4F37A3 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.9% C 0.165 H 287.5°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#4F37A3
RGBrgb(79, 55, 163)
HSLhsl(253, 50%, 43%)
HSVhsv(253, 66%, 64%)
CMYKcmyk(51.5%, 66.3%, 0%, 36.1%)
CIE-LABlab(31.89, 38.69, -54.96)
CIE-LCHlch(31.89, 67.21, 305.14°)
OKLaboklab(42.95% 0.0498 -0.1576)
OKLCHoklch(42.95% 0.165 287.5)
XYZxyz(11.1996, 7.0385, 35.4117)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F37A3 #8BA337
analogous
#3755A3 #4F37A3 #8537A3
triadic
#4F37A3 #A34F37 #37A34F
tetradic
#4F37A3 #A33755 #8BA337 #37A385
square
#4F37A3 #A33755 #8BA337 #37A385
split-complementary
#4F37A3 #A38537 #55A337
monochromatic
#231847 #392875 #4F37A3 #6C52C5 #9380D4

Accessibility & contrast

On white

8.72
#4F37A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4F37A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F37A3
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F37A3#FFFFFF#000000##FFFFFF
##4F37A31.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#0048A1
Tritanopia (blue-blind)
#305268
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4f37a3;
/* rgb */ color: rgb(79, 55, 163);
/* oklch */ color: oklch(42.9% 0.165 287.5);
Tailwind
colors: {
  custom: {
    50: '#886fbf',
    500: '#4f37a3',
    950: '#000000',
  },
}
SCSS
$custom: #4f37a3;
$custom-light: #886fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f37a3",
  "rgb": {
    "r": 79,
    "g": 55,
    "b": 163
  },
  "hsl": {
    "h": 253.333,
    "s": 49.541,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42947,
    "c": 0.16531,
    "h": 287.5
  },
  "luminance": 0.07039
}

Semantic roles & 50–950 ramp

primary
#4F37A3
secondary
#AEBE78
accent
#D94FBA
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4F37A3

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

Preview Lab → · Contrast checker → · Palette generator →

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