#4F33C7#4F33C7

#4F33C7 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.6% C 0.214 H 282.5°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#4F33C7
RGBrgb(79, 51, 199)
HSLhsl(251, 59%, 49%)
HSVhsv(251, 74%, 78%)
CMYKcmyk(60.3%, 74.4%, 0%, 22%)
CIE-LABlab(34.30, 51.67, -72.39)
CIE-LCHlch(34.30, 88.94, 305.52°)
OKLaboklab(45.64% 0.0464 -0.2087)
OKLCHoklch(45.64% 0.214 282.5)
XYZxyz(14.7139, 8.1524, 54.8200)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F33C7 #ABC733
analogous
#3361C7 #4F33C7 #9933C7
triadic
#4F33C7 #C74F33 #33C74F
tetradic
#4F33C7 #C73361 #ABC733 #33C799
square
#4F33C7 #C73361 #ABC733 #33C799
split-complementary
#4F33C7 #C79933 #61C733
monochromatic
#281A66 #3C2796 #4F33C7 #7761D6 #A191E3

Accessibility & contrast

On white

7.98
#4F33C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4F33C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F33C7
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F33C7#FFFFFF#000000##FFFFFF
##4F33C71.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CB
Deuteranopia (green-blind)
#004BC4
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4f33c7;
/* rgb */ color: rgb(79, 51, 199);
/* oklch */ color: oklch(45.6% 0.214 282.5);
Tailwind
colors: {
  custom: {
    50: '#8e6ed9',
    500: '#4f33c7',
    950: '#000000',
  },
}
SCSS
$custom: #4f33c7;
$custom-light: #8e6ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f33c7",
  "rgb": {
    "r": 79,
    "g": 51,
    "b": 199
  },
  "hsl": {
    "h": 251.351,
    "s": 59.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45641,
    "c": 0.21378,
    "h": 282.5
  },
  "luminance": 0.08153
}

Semantic roles & 50–950 ramp

primary
#4F33C7
secondary
#C1CE88
accent
#E245C5
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4F33C7

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

Preview Lab → · Contrast checker → · Palette generator →

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