#4F33B3#4F33B3

#4F33B3 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.8% C 0.190 H 285.5°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#4F33B3
RGBrgb(79, 51, 179)
HSLhsl(253, 56%, 45%)
HSVhsv(253, 72%, 70%)
CMYKcmyk(55.9%, 71.5%, 0%, 29.8%)
CIE-LABlab(32.44, 45.74, -63.65)
CIE-LCHlch(32.44, 78.38, 305.71°)
OKLaboklab(43.77% 0.0508 -0.1831)
OKLCHoklch(43.77% 0.19 285.5)
XYZxyz(12.5425, 7.2839, 43.3841)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F33B3 #97B333
analogous
#3357B3 #4F33B3 #8F33B3
triadic
#4F33B3 #B34F33 #33B34F
tetradic
#4F33B3 #B33357 #97B333 #33B38F
square
#4F33B3 #B33357 #97B333 #33B38F
split-complementary
#4F33B3 #B38F33 #57B333
monochromatic
#251854 #3A2583 #4F33B3 #6F55CE #9884DC

Accessibility & contrast

On white

8.55
#4F33B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4F33B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F33B3
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F33B3#FFFFFF#000000##FFFFFF
##4F33B31.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#21556F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f33b3;
/* rgb */ color: rgb(79, 51, 179);
/* oklch */ color: oklch(43.8% 0.190 285.5);
Tailwind
colors: {
  custom: {
    50: '#8b6dcb',
    500: '#4f33b3',
    950: '#000000',
  },
}
SCSS
$custom: #4f33b3;
$custom-light: #8b6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f33b3",
  "rgb": {
    "r": 79,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 253.125,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43765,
    "c": 0.19004,
    "h": 285.5
  },
  "luminance": 0.07285
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F33B3

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

Preview Lab → · Contrast checker → · Palette generator →

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