#4F33B6#4F33B6

#4F33B6 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.0% C 0.194 H 285.0°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#4F33B6
RGBrgb(79, 51, 182)
HSLhsl(253, 56%, 46%)
HSVhsv(253, 72%, 71%)
CMYKcmyk(56.6%, 72%, 0%, 28.6%)
CIE-LABlab(32.72, 46.64, -64.98)
CIE-LCHlch(32.72, 79.99, 305.67°)
OKLaboklab(44.04% 0.0502 -0.187)
OKLCHoklch(44.04% 0.194 285)
XYZxyz(12.8492, 7.4066, 44.9994)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F33B6 #9AB633
analogous
#3359B6 #4F33B6 #9033B6
triadic
#4F33B6 #B64F33 #33B64F
tetradic
#4F33B6 #B63359 #9AB633 #33B690
square
#4F33B6 #B63359 #9AB633 #33B690
split-complementary
#4F33B6 #B69033 #59B633
monochromatic
#251856 #3A2686 #4F33B6 #7056D0 #9986DD

Accessibility & contrast

On white

8.46
#4F33B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4F33B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F33B6
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F33B6#FFFFFF#000000##FFFFFF
##4F33B61.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0049B4
Tritanopia (blue-blind)
#1D5671
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f33b6;
/* rgb */ color: rgb(79, 51, 182);
/* oklch */ color: oklch(44.0% 0.194 285.0);
Tailwind
colors: {
  custom: {
    50: '#8b6dcd',
    500: '#4f33b6',
    950: '#000000',
  },
}
SCSS
$custom: #4f33b6;
$custom-light: #8b6dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f33b6",
  "rgb": {
    "r": 79,
    "g": 51,
    "b": 182
  },
  "hsl": {
    "h": 252.824,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4404,
    "c": 0.19366,
    "h": 285
  },
  "luminance": 0.07407
}

Semantic roles & 50–950 ramp

primary
#4F33B6
secondary
#B7C77E
accent
#E048BF
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4F33B6

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

Preview Lab → · Contrast checker → · Palette generator →

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