#4F34C4#4F34C4

#4F34C4 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.5% C 0.209 H 282.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#4F34C4
RGBrgb(79, 52, 196)
HSLhsl(251, 58%, 49%)
HSVhsv(251, 73%, 77%)
CMYKcmyk(59.7%, 73.5%, 0%, 23.1%)
CIE-LABlab(34.20, 50.27, -70.80)
CIE-LCHlch(34.20, 86.83, 305.38°)
OKLaboklab(45.48% 0.0464 -0.2041)
OKLCHoklch(45.48% 0.209 282.8)
XYZxyz(14.4132, 8.1028, 53.0183)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F34C4 #A9C434
analogous
#3461C4 #4F34C4 #9734C4
triadic
#4F34C4 #C44F34 #34C44F
tetradic
#4F34C4 #C43461 #A9C434 #34C497
square
#4F34C4 #C43461 #A9C434 #34C497
split-complementary
#4F34C4 #C49734 #61C434
monochromatic
#281A63 #3C2794 #4F34C4 #7660D5 #A091E2

Accessibility & contrast

On white

8.01
#4F34C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4F34C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F34C4
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F34C4#FFFFFF#000000##FFFFFF
##4F34C41.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C8
Deuteranopia (green-blind)
#004BC1
Tritanopia (blue-blind)
#005C79
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f34c4;
/* rgb */ color: rgb(79, 52, 196);
/* oklch */ color: oklch(45.5% 0.209 282.8);
Tailwind
colors: {
  custom: {
    50: '#8e6fd7',
    500: '#4f34c4',
    950: '#000000',
  },
}
SCSS
$custom: #4f34c4;
$custom-light: #8e6fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f34c4",
  "rgb": {
    "r": 79,
    "g": 52,
    "b": 196
  },
  "hsl": {
    "h": 251.25,
    "s": 58.065,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45483,
    "c": 0.20926,
    "h": 282.8
  },
  "luminance": 0.08104
}

Semantic roles & 50–950 ramp

primary
#4F34C4
secondary
#C0CC87
accent
#E147C4
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4F34C4

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

Preview Lab → · Contrast checker → · Palette generator →

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