#4F38BF#4F38BF

#4F38BF is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.6% C 0.199 H 282.9°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#4F38BF
RGBrgb(79, 56, 191)
HSLhsl(250, 55%, 48%)
HSVhsv(250, 71%, 75%)
CMYKcmyk(58.6%, 70.7%, 0%, 25.1%)
CIE-LABlab(34.50, 46.63, -67.37)
CIE-LCHlch(34.50, 81.93, 304.69°)
OKLaboklab(45.56% 0.0444 -0.194)
OKLCHoklch(45.56% 0.199 282.9)
XYZxyz(14.0397, 8.2513, 50.1329)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F38BF #A8BF38
analogous
#3864BF #4F38BF #9238BF
triadic
#4F38BF #BF4F38 #38BF4F
tetradic
#4F38BF #BF3864 #A8BF38 #38BF92
square
#4F38BF #BF3864 #A8BF38 #38BF92
split-complementary
#4F38BF #BF9238 #64BF38
monochromatic
#281C60 #3B2A90 #4F38BF #7663D1 #9F92DF

Accessibility & contrast

On white

7.92
#4F38BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F38BF
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F38BF#FFFFFF#000000##FFFFFF
##4F38BF1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#004CBC
Tritanopia (blue-blind)
#075C77
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4f38bf;
/* rgb */ color: rgb(79, 56, 191);
/* oklch */ color: oklch(45.6% 0.199 282.9);
Tailwind
colors: {
  custom: {
    50: '#8c71d3',
    500: '#4f38bf',
    950: '#000000',
  },
}
SCSS
$custom: #4f38bf;
$custom-light: #8c71d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f38bf",
  "rgb": {
    "r": 79,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 250.222,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45559,
    "c": 0.19906,
    "h": 282.9
  },
  "luminance": 0.08252
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F38BF

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

Preview Lab → · Contrast checker → · Palette generator →

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