#4F34B3#4F34B3

#4F34B3 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.9% C 0.189 H 285.3°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#4F34B3
RGBrgb(79, 52, 179)
HSLhsl(253, 55%, 45%)
HSVhsv(253, 71%, 70%)
CMYKcmyk(55.9%, 70.9%, 0%, 29.8%)
CIE-LABlab(32.64, 45.20, -63.33)
CIE-LCHlch(32.64, 77.80, 305.52°)
OKLaboklab(43.9% 0.05 -0.1822)
OKLCHoklch(43.9% 0.189 285.3)
XYZxyz(12.5867, 7.3722, 43.3988)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F34B3 #98B334
analogous
#3458B3 #4F34B3 #8E34B3
triadic
#4F34B3 #B34F34 #34B34F
tetradic
#4F34B3 #B33458 #98B334 #34B38E
square
#4F34B3 #B33458 #98B334 #34B38E
split-complementary
#4F34B3 #B38E34 #58B334
monochromatic
#251854 #3A2684 #4F34B3 #7056CE #9886DC

Accessibility & contrast

On white

8.49
#4F34B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4F34B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F34B3
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F34B3#FFFFFF#000000##FFFFFF
##4F34B31.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#215670
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f34b3;
/* rgb */ color: rgb(79, 52, 179);
/* oklch */ color: oklch(43.9% 0.189 285.3);
Tailwind
colors: {
  custom: {
    50: '#8b6ecb',
    500: '#4f34b3',
    950: '#000000',
  },
}
SCSS
$custom: #4f34b3;
$custom-light: #8b6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f34b3",
  "rgb": {
    "r": 79,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 252.756,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43904,
    "c": 0.18891,
    "h": 285.3
  },
  "luminance": 0.07373
}

Semantic roles & 50–950 ramp

primary
#4F34B3
secondary
#B6C57D
accent
#DE49BF
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4F34B3

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

Preview Lab → · Contrast checker → · Palette generator →

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