#4F33B2#4F33B2

#4F33B2 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.7% C 0.189 H 285.7°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#4F33B2
RGBrgb(79, 51, 178)
HSLhsl(253, 55%, 45%)
HSVhsv(253, 71%, 70%)
CMYKcmyk(55.6%, 71.3%, 0%, 30.2%)
CIE-LABlab(32.36, 45.45, -63.20)
CIE-LCHlch(32.36, 77.84, 305.72°)
OKLaboklab(43.67% 0.051 -0.1818)
OKLCHoklch(43.67% 0.189 285.7)
XYZxyz(12.4417, 7.2436, 42.8534)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F33B2 #96B233
analogous
#3357B2 #4F33B2 #8E33B2
triadic
#4F33B2 #B24F33 #33B24F
tetradic
#4F33B2 #B23357 #96B233 #33B28E
square
#4F33B2 #B23357 #96B233 #33B28E
split-complementary
#4F33B2 #B28E33 #57B233
monochromatic
#251853 #3A2582 #4F33B2 #6F54CE #9784DC

Accessibility & contrast

On white

8.58
#4F33B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4F33B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F33B2
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F33B2#FFFFFF#000000##FFFFFF
##4F33B21.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#22556F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f33b2;
/* rgb */ color: rgb(79, 51, 178);
/* oklch */ color: oklch(43.7% 0.189 285.7);
Tailwind
colors: {
  custom: {
    50: '#8b6dca',
    500: '#4f33b2',
    950: '#000000',
  },
}
SCSS
$custom: #4f33b2;
$custom-light: #8b6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#4f33b2",
  "rgb": {
    "r": 79,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 253.228,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43674,
    "c": 0.18882,
    "h": 285.7
  },
  "luminance": 0.07244
}

Semantic roles & 50–950 ramp

primary
#4F33B2
secondary
#B5C57C
accent
#DF49BE
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4F33B2

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

Preview Lab → · Contrast checker → · Palette generator →

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