#4F37C1#4F37C1

#4F37C1 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.6% C 0.203 H 282.8°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#4F37C1
RGBrgb(79, 55, 193)
HSLhsl(250, 56%, 49%)
HSVhsv(250, 72%, 76%)
CMYKcmyk(59.1%, 71.5%, 0%, 24.3%)
CIE-LABlab(34.49, 47.78, -68.57)
CIE-LCHlch(34.49, 83.57, 304.87°)
OKLaboklab(45.6% 0.0448 -0.1975)
OKLCHoklch(45.6% 0.203 282.8)
XYZxyz(14.2133, 8.2440, 51.2840)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F37C1 #A9C137
analogous
#3764C1 #4F37C1 #9437C1
triadic
#4F37C1 #C14F37 #37C14F
tetradic
#4F37C1 #C13764 #A9C137 #37C194
square
#4F37C1 #C13764 #A9C137 #37C194
split-complementary
#4F37C1 #C19437 #64C137
monochromatic
#281C62 #3C2991 #4F37C1 #7663D2 #A092E0

Accessibility & contrast

On white

7.93
#4F37C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4F37C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F37C1
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F37C1#FFFFFF#000000##FFFFFF
##4F37C11.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C5
Deuteranopia (green-blind)
#004CBE
Tritanopia (blue-blind)
#005C78
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4f37c1;
/* rgb */ color: rgb(79, 55, 193);
/* oklch */ color: oklch(45.6% 0.203 282.8);
Tailwind
colors: {
  custom: {
    50: '#8d70d5',
    500: '#4f37c1',
    950: '#000000',
  },
}
SCSS
$custom: #4f37c1;
$custom-light: #8d70d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f37c1",
  "rgb": {
    "r": 79,
    "g": 55,
    "b": 193
  },
  "hsl": {
    "h": 250.435,
    "s": 55.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45604,
    "c": 0.20256,
    "h": 282.8
  },
  "luminance": 0.08245
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F37C1

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

Preview Lab → · Contrast checker → · Palette generator →

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