#4F34BD#4F34BD

#4F34BD is a dark, highly saturated violet. Relative luminance 0.078; OKLCH L 44.8% C 0.201 H 283.8°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#4F34BD
RGBrgb(79, 52, 189)
HSLhsl(252, 57%, 47%)
HSVhsv(252, 72%, 74%)
CMYKcmyk(58.2%, 72.5%, 0%, 25.9%)
CIE-LABlab(33.54, 48.19, -67.76)
CIE-LCHlch(33.54, 83.15, 305.42°)
OKLaboklab(44.82% 0.0479 -0.1952)
OKLCHoklch(44.82% 0.201 283.8)
XYZxyz(13.6349, 7.7915, 48.9197)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F34BD #A2BD34
analogous
#345EBD #4F34BD #9434BD
triadic
#4F34BD #BD4F34 #34BD4F
tetradic
#4F34BD #BD345E #A2BD34 #34BD94
square
#4F34BD #BD345E #A2BD34 #34BD94
split-complementary
#4F34BD #BD9434 #5EBD34
monochromatic
#271A5D #3B278D #4F34BD #735CD2 #9C8CDF

Accessibility & contrast

On white

8.21
#4F34BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4F34BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F34BD
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F34BD#FFFFFF#000000##FFFFFF
##4F34BD1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C1
Deuteranopia (green-blind)
#004ABA
Tritanopia (blue-blind)
#0E5975
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f34bd;
/* rgb */ color: rgb(79, 52, 189);
/* oklch */ color: oklch(44.8% 0.201 283.8);
Tailwind
colors: {
  custom: {
    50: '#8c6ed2',
    500: '#4f34bd',
    950: '#000000',
  },
}
SCSS
$custom: #4f34bd;
$custom-light: #8c6ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f34bd",
  "rgb": {
    "r": 79,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 251.825,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44824,
    "c": 0.20097,
    "h": 283.8
  },
  "luminance": 0.07792
}

Semantic roles & 50–950 ramp

primary
#4F34BD
secondary
#BCCA83
accent
#E048C2
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4F34BD

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

Preview Lab → · Contrast checker → · Palette generator →

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