#4F33B7#4F33B7

#4F33B7 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.1% C 0.195 H 284.9°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#4F33B7
RGBrgb(79, 51, 183)
HSLhsl(253, 56%, 46%)
HSVhsv(253, 72%, 72%)
CMYKcmyk(56.8%, 72.1%, 0%, 28.2%)
CIE-LABlab(32.81, 46.93, -65.43)
CIE-LCHlch(32.81, 80.52, 305.65°)
OKLaboklab(44.13% 0.05 -0.1883)
OKLCHoklch(44.13% 0.195 284.9)
XYZxyz(12.9529, 7.4480, 45.5456)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F33B7 #9BB733
analogous
#3359B7 #4F33B7 #9133B7
triadic
#4F33B7 #B74F33 #33B74F
tetradic
#4F33B7 #B73359 #9BB733 #33B791
square
#4F33B7 #B73359 #9BB733 #33B791
split-complementary
#4F33B7 #B79133 #59B733
monochromatic
#261857 #3A2687 #4F33B7 #7157D0 #9987DE

Accessibility & contrast

On white

8.43
#4F33B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4F33B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F33B7
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F33B7#FFFFFF#000000##FFFFFF
##4F33B71.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#0049B5
Tritanopia (blue-blind)
#1B5772
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f33b7;
/* rgb */ color: rgb(79, 51, 183);
/* oklch */ color: oklch(44.1% 0.195 284.9);
Tailwind
colors: {
  custom: {
    50: '#8c6dce',
    500: '#4f33b7',
    950: '#000000',
  },
}
SCSS
$custom: #4f33b7;
$custom-light: #8c6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#4f33b7",
  "rgb": {
    "r": 79,
    "g": 51,
    "b": 183
  },
  "hsl": {
    "h": 252.727,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44132,
    "c": 0.19486,
    "h": 284.9
  },
  "luminance": 0.07449
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F33B7

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

Preview Lab → · Contrast checker → · Palette generator →

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