#4F33B9#4F33B9

#4F33B9 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.3% C 0.197 H 284.6°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#4F33B9
RGBrgb(79, 51, 185)
HSLhsl(253, 57%, 46%)
HSVhsv(253, 72%, 73%)
CMYKcmyk(57.3%, 72.4%, 0%, 27.5%)
CIE-LABlab(32.99, 47.53, -66.31)
CIE-LCHlch(32.99, 81.58, 305.63°)
OKLaboklab(44.32% 0.0496 -0.1909)
OKLCHoklch(44.32% 0.197 284.6)
XYZxyz(13.1626, 7.5319, 46.6497)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F33B9 #9DB933
analogous
#335AB9 #4F33B9 #9233B9
triadic
#4F33B9 #B94F33 #33B94F
tetradic
#4F33B9 #B9335A #9DB933 #33B992
square
#4F33B9 #B9335A #9DB933 #33B992
split-complementary
#4F33B9 #B99233 #5AB933
monochromatic
#261959 #3B2689 #4F33B9 #7158D1 #9A88DE

Accessibility & contrast

On white

8.38
#4F33B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4F33B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F33B9
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F33B9#FFFFFF#000000##FFFFFF
##4F33B91.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BD
Deuteranopia (green-blind)
#0049B6
Tritanopia (blue-blind)
#185773
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f33b9;
/* rgb */ color: rgb(79, 51, 185);
/* oklch */ color: oklch(44.3% 0.197 284.6);
Tailwind
colors: {
  custom: {
    50: '#8c6ecf',
    500: '#4f33b9',
    950: '#000000',
  },
}
SCSS
$custom: #4f33b9;
$custom-light: #8c6ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f33b9",
  "rgb": {
    "r": 79,
    "g": 51,
    "b": 185
  },
  "hsl": {
    "h": 252.537,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44317,
    "c": 0.19726,
    "h": 284.6
  },
  "luminance": 0.07533
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F33B9

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

Preview Lab → · Contrast checker → · Palette generator →

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