#4F33B5#4F33B5

#4F33B5 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.9% C 0.192 H 285.2°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#4F33B5
RGBrgb(79, 51, 181)
HSLhsl(253, 56%, 45%)
HSVhsv(253, 72%, 71%)
CMYKcmyk(56.4%, 71.8%, 0%, 29%)
CIE-LABlab(32.62, 46.34, -64.54)
CIE-LCHlch(32.62, 79.45, 305.68°)
OKLaboklab(43.95% 0.0504 -0.1857)
OKLCHoklch(43.95% 0.192 285.2)
XYZxyz(12.7462, 7.3654, 44.4571)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F33B5 #99B533
analogous
#3358B5 #4F33B5 #9033B5
triadic
#4F33B5 #B54F33 #33B54F
tetradic
#4F33B5 #B53358 #99B533 #33B590
square
#4F33B5 #B53358 #99B533 #33B590
split-complementary
#4F33B5 #B59033 #58B533
monochromatic
#251856 #3A2685 #4F33B5 #7056CF #9886DD

Accessibility & contrast

On white

8.49
#4F33B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4F33B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F33B5
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F33B5#FFFFFF#000000##FFFFFF
##4F33B51.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#0049B3
Tritanopia (blue-blind)
#1E5671
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f33b5;
/* rgb */ color: rgb(79, 51, 181);
/* oklch */ color: oklch(43.9% 0.192 285.2);
Tailwind
colors: {
  custom: {
    50: '#8b6dcc',
    500: '#4f33b5',
    950: '#000000',
  },
}
SCSS
$custom: #4f33b5;
$custom-light: #8b6dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f33b5",
  "rgb": {
    "r": 79,
    "g": 51,
    "b": 181
  },
  "hsl": {
    "h": 252.923,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43948,
    "c": 0.19245,
    "h": 285.2
  },
  "luminance": 0.07366
}

Semantic roles & 50–950 ramp

primary
#4F33B5
secondary
#B7C67D
accent
#DF48BF
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4F33B5

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

Preview Lab → · Contrast checker → · Palette generator →

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