#4F33B8#4F33B8

#4F33B8 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.2% C 0.196 H 284.7°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#4F33B8
RGBrgb(79, 51, 184)
HSLhsl(253, 57%, 46%)
HSVhsv(253, 72%, 72%)
CMYKcmyk(57.1%, 72.3%, 0%, 27.8%)
CIE-LABlab(32.90, 47.23, -65.87)
CIE-LCHlch(32.90, 81.05, 305.64°)
OKLaboklab(44.22% 0.0498 -0.1896)
OKLCHoklch(44.22% 0.196 284.7)
XYZxyz(13.0574, 7.4898, 46.0957)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F33B8 #9CB833
analogous
#3359B8 #4F33B8 #9133B8
triadic
#4F33B8 #B84F33 #33B84F
tetradic
#4F33B8 #B83359 #9CB833 #33B891
square
#4F33B8 #B83359 #9CB833 #33B891
split-complementary
#4F33B8 #B89133 #59B833
monochromatic
#261858 #3A2688 #4F33B8 #7158D1 #9A88DE

Accessibility & contrast

On white

8.41
#4F33B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4F33B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F33B8
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F33B8#FFFFFF#000000##FFFFFF
##4F33B81.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BC
Deuteranopia (green-blind)
#0049B5
Tritanopia (blue-blind)
#195772
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f33b8;
/* rgb */ color: rgb(79, 51, 184);
/* oklch */ color: oklch(44.2% 0.196 284.7);
Tailwind
colors: {
  custom: {
    50: '#8c6ece',
    500: '#4f33b8',
    950: '#000000',
  },
}
SCSS
$custom: #4f33b8;
$custom-light: #8c6ece;
$custom-dark: #000000;
JSON
{
  "hex": "#4f33b8",
  "rgb": {
    "r": 79,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 252.632,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44225,
    "c": 0.19605,
    "h": 284.7
  },
  "luminance": 0.07491
}

Semantic roles & 50–950 ramp

primary
#4F33B8
secondary
#B8C87F
accent
#E048C0
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4F33B8

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

Preview Lab → · Contrast checker → · Palette generator →

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