#4F38C0#4F38C0

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

Color values

HEX#4F38C0
RGBrgb(79, 56, 192)
HSLhsl(250, 55%, 49%)
HSVhsv(250, 71%, 75%)
CMYKcmyk(58.9%, 70.8%, 0%, 24.7%)
CIE-LABlab(34.59, 46.94, -67.81)
CIE-LCHlch(34.59, 82.47, 304.69°)
OKLaboklab(45.65% 0.0442 -0.1953)
OKLCHoklch(45.65% 0.2 282.8)
XYZxyz(14.1501, 8.2954, 50.7145)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F38C0 #A9C038
analogous
#3865C0 #4F38C0 #9338C0
triadic
#4F38C0 #C04F38 #38C04F
tetradic
#4F38C0 #C03865 #A9C038 #38C093
square
#4F38C0 #C03865 #A9C038 #38C093
split-complementary
#4F38C0 #C09338 #65C038
monochromatic
#281C61 #3C2A91 #4F38C0 #7664D2 #A093DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F38C0#FFFFFF#000000##FFFFFF
##4F38C01.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)
#0056C4
Deuteranopia (green-blind)
#004DBD
Tritanopia (blue-blind)
#035D78
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4f38c0;
/* rgb */ color: rgb(79, 56, 192);
/* oklch */ color: oklch(45.7% 0.200 282.8);
Tailwind
colors: {
  custom: {
    50: '#8d71d4',
    500: '#4f38c0',
    950: '#000000',
  },
}
SCSS
$custom: #4f38c0;
$custom-light: #8d71d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f38c0",
  "rgb": {
    "r": 79,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 250.147,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45651,
    "c": 0.20027,
    "h": 282.8
  },
  "luminance": 0.08296
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F38C0

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

Preview Lab → · Contrast checker → · Palette generator →

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