#4F33BF#4F33BF

#4F33BF is a dark, highly saturated violet. Relative luminance 0.078; OKLCH L 44.9% C 0.204 H 283.6°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#4F33BF
RGBrgb(79, 51, 191)
HSLhsl(252, 58%, 47%)
HSVhsv(252, 73%, 75%)
CMYKcmyk(58.6%, 73.3%, 0%, 25.1%)
CIE-LABlab(33.54, 49.31, -68.94)
CIE-LCHlch(33.54, 84.76, 305.57°)
OKLaboklab(44.88% 0.0482 -0.1986)
OKLCHoklch(44.88% 0.204 283.6)
XYZxyz(13.8094, 7.7906, 50.0562)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F33BF #A3BF33
analogous
#335DBF #4F33BF #9533BF
triadic
#4F33BF #BF4F33 #33BF4F
tetradic
#4F33BF #BF335D #A3BF33 #33BF95
square
#4F33BF #BF335D #A3BF33 #33BF95
split-complementary
#4F33BF #BF9533 #5DBF33
monochromatic
#27195E #3B268F #4F33BF #745CD3 #9D8CE0

Accessibility & contrast

On white

8.21
#4F33BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4F33BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F33BF
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F33BF#FFFFFF#000000##FFFFFF
##4F33BF1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#004ABC
Tritanopia (blue-blind)
#085A76
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f33bf;
/* rgb */ color: rgb(79, 51, 191);
/* oklch */ color: oklch(44.9% 0.204 283.6);
Tailwind
colors: {
  custom: {
    50: '#8d6ed3',
    500: '#4f33bf',
    950: '#000000',
  },
}
SCSS
$custom: #4f33bf;
$custom-light: #8d6ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f33bf",
  "rgb": {
    "r": 79,
    "g": 51,
    "b": 191
  },
  "hsl": {
    "h": 252,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44879,
    "c": 0.20439,
    "h": 283.6
  },
  "luminance": 0.07792
}

Semantic roles & 50–950 ramp

primary
#4F33BF
secondary
#BCCB83
accent
#E147C2
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4F33BF

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

Preview Lab → · Contrast checker → · Palette generator →

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