#4F34BF#4F34BF

#4F34BF is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.0% C 0.203 H 283.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#4F34BF
RGBrgb(79, 52, 191)
HSLhsl(252, 57%, 48%)
HSVhsv(252, 73%, 75%)
CMYKcmyk(58.6%, 72.8%, 0%, 25.1%)
CIE-LABlab(33.73, 48.78, -68.63)
CIE-LCHlch(33.73, 84.20, 305.40°)
OKLaboklab(45.01% 0.0475 -0.1977)
OKLCHoklch(45.01% 0.203 283.5)
XYZxyz(13.8535, 7.8789, 50.0709)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F34BF #A4BF34
analogous
#345EBF #4F34BF #9534BF
triadic
#4F34BF #BF4F34 #34BF4F
tetradic
#4F34BF #BF345E #A4BF34 #34BF95
square
#4F34BF #BF345E #A4BF34 #34BF95
split-complementary
#4F34BF #BF9534 #5EBF34
monochromatic
#271A5F #3B278F #4F34BF #745DD3 #9D8DE0

Accessibility & contrast

On white

8.15
#4F34BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4F34BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F34BF
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F34BF#FFFFFF#000000##FFFFFF
##4F34BF1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#004BBC
Tritanopia (blue-blind)
#085A76
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f34bf;
/* rgb */ color: rgb(79, 52, 191);
/* oklch */ color: oklch(45.0% 0.203 283.5);
Tailwind
colors: {
  custom: {
    50: '#8d6ed3',
    500: '#4f34bf',
    950: '#000000',
  },
}
SCSS
$custom: #4f34bf;
$custom-light: #8d6ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f34bf",
  "rgb": {
    "r": 79,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 251.655,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45011,
    "c": 0.20335,
    "h": 283.5
  },
  "luminance": 0.0788
}

Semantic roles & 50–950 ramp

primary
#4F34BF
secondary
#BDCA84
accent
#E047C3
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4F34BF

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

Preview Lab → · Contrast checker → · Palette generator →

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