#4F33C2#4F33C2

#4F33C2 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.2% C 0.208 H 283.2°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#4F33C2
RGBrgb(79, 51, 194)
HSLhsl(252, 58%, 48%)
HSVhsv(252, 74%, 76%)
CMYKcmyk(59.3%, 73.7%, 0%, 23.9%)
CIE-LABlab(33.82, 50.19, -70.24)
CIE-LCHlch(33.82, 86.33, 305.55°)
OKLaboklab(45.16% 0.0476 -0.2024)
OKLCHoklch(45.16% 0.208 283.2)
XYZxyz(14.1429, 7.9240, 51.8127)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F33C2 #A6C233
analogous
#335FC2 #4F33C2 #9633C2
triadic
#4F33C2 #C24F33 #33C24F
tetradic
#4F33C2 #C2335F #A6C233 #33C296
square
#4F33C2 #C2335F #A6C233 #33C296
split-complementary
#4F33C2 #C29633 #5FC233
monochromatic
#281A61 #3B2692 #4F33C2 #755ED5 #9E8EE1

Accessibility & contrast

On white

8.12
#4F33C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4F33C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F33C2
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F33C2#FFFFFF#000000##FFFFFF
##4F33C21.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C6
Deuteranopia (green-blind)
#004BBF
Tritanopia (blue-blind)
#005B78
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f33c2;
/* rgb */ color: rgb(79, 51, 194);
/* oklch */ color: oklch(45.2% 0.208 283.2);
Tailwind
colors: {
  custom: {
    50: '#8d6ed6',
    500: '#4f33c2',
    950: '#000000',
  },
}
SCSS
$custom: #4f33c2;
$custom-light: #8d6ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f33c2",
  "rgb": {
    "r": 79,
    "g": 51,
    "b": 194
  },
  "hsl": {
    "h": 251.748,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45163,
    "c": 0.20793,
    "h": 283.2
  },
  "luminance": 0.07925
}

Semantic roles & 50–950 ramp

primary
#4F33C2
secondary
#BECC85
accent
#E246C3
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #4F33C2

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

Preview Lab → · Contrast checker → · Palette generator →

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