#4F37C2#4F37C2

#4F37C2 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 45.7% C 0.204 H 282.6°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#4F37C2
RGBrgb(79, 55, 194)
HSLhsl(250, 56%, 49%)
HSVhsv(250, 72%, 76%)
CMYKcmyk(59.3%, 71.6%, 0%, 23.9%)
CIE-LABlab(34.58, 48.08, -69.00)
CIE-LCHlch(34.58, 84.10, 304.87°)
OKLaboklab(45.7% 0.0446 -0.1988)
OKLCHoklch(45.7% 0.204 282.6)
XYZxyz(14.3252, 8.2887, 51.8735)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F37C2 #AAC237
analogous
#3765C2 #4F37C2 #9537C2
triadic
#4F37C2 #C24F37 #37C24F
tetradic
#4F37C2 #C23765 #AAC237 #37C295
square
#4F37C2 #C23765 #AAC237 #37C295
split-complementary
#4F37C2 #C29537 #65C237
monochromatic
#281C63 #3C2992 #4F37C2 #7763D3 #A093E0

Accessibility & contrast

On white

7.90
#4F37C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4F37C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F37C2
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F37C2#FFFFFF#000000##FFFFFF
##4F37C21.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C6
Deuteranopia (green-blind)
#004CBF
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4f37c2;
/* rgb */ color: rgb(79, 55, 194);
/* oklch */ color: oklch(45.7% 0.204 282.6);
Tailwind
colors: {
  custom: {
    50: '#8d70d6',
    500: '#4f37c2',
    950: '#000000',
  },
}
SCSS
$custom: #4f37c2;
$custom-light: #8d70d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f37c2",
  "rgb": {
    "r": 79,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 250.36,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45696,
    "c": 0.20376,
    "h": 282.6
  },
  "luminance": 0.0829
}

Semantic roles & 50–950 ramp

primary
#4F37C2
secondary
#C0CB89
accent
#DF49C5
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4F37C2

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

Preview Lab → · Contrast checker → · Palette generator →

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