#4F34C8#4F34C8

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

Color values

HEX#4F34C8
RGBrgb(79, 52, 200)
HSLhsl(251, 59%, 49%)
HSVhsv(251, 74%, 78%)
CMYKcmyk(60.5%, 74%, 0%, 21.6%)
CIE-LABlab(34.57, 51.45, -72.52)
CIE-LCHlch(34.57, 88.92, 305.36°)
OKLaboklab(45.86% 0.0455 -0.2091)
OKLCHoklch(45.86% 0.214 282.3)
XYZxyz(14.8745, 8.2873, 55.4482)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F34C8 #ADC834
analogous
#3463C8 #4F34C8 #9934C8
triadic
#4F34C8 #C84F34 #34C84F
tetradic
#4F34C8 #C83463 #ADC834 #34C899
square
#4F34C8 #C83463 #ADC834 #34C899
split-complementary
#4F34C8 #C89934 #63C834
monochromatic
#291B67 #3C2797 #4F34C8 #7863D6 #A293E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F34C8#FFFFFF#000000##FFFFFF
##4F34C81.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)
#0056CC
Deuteranopia (green-blind)
#004CC5
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4f34c8;
/* rgb */ color: rgb(79, 52, 200);
/* oklch */ color: oklch(45.9% 0.214 282.3);
Tailwind
colors: {
  custom: {
    50: '#8e6fda',
    500: '#4f34c8',
    950: '#000000',
  },
}
SCSS
$custom: #4f34c8;
$custom-light: #8e6fda;
$custom-dark: #000000;
JSON
{
  "hex": "#4f34c8",
  "rgb": {
    "r": 79,
    "g": 52,
    "b": 200
  },
  "hsl": {
    "h": 250.946,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45864,
    "c": 0.21397,
    "h": 282.3
  },
  "luminance": 0.08288
}

Semantic roles & 50–950 ramp

primary
#4F34C8
secondary
#C2CE8A
accent
#E246C5
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4F34C8

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

Preview Lab → · Contrast checker → · Palette generator →

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