#4F33AB#4F33AB

#4F33AB is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.0% C 0.180 H 286.9°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#4F33AB
RGBrgb(79, 51, 171)
HSLhsl(254, 54%, 44%)
HSVhsv(254, 70%, 67%)
CMYKcmyk(53.8%, 70.2%, 0%, 32.9%)
CIE-LABlab(31.74, 43.36, -60.03)
CIE-LCHlch(31.74, 74.05, 305.84°)
OKLaboklab(43.04% 0.0524 -0.1725)
OKLCHoklch(43.04% 0.18 286.9)
XYZxyz(11.7568, 6.9696, 39.2460)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F33AB #8FAB33
analogous
#3353AB #4F33AB #8B33AB
triadic
#4F33AB #AB4F33 #33AB4F
tetradic
#4F33AB #AB3353 #8FAB33 #33AB8B
square
#4F33AB #AB3353 #8FAB33 #33AB8B
split-complementary
#4F33AB #AB8B33 #53AB33
monochromatic
#23174D #39257C #4F33AB #6D50CB #947FD9

Accessibility & contrast

On white

8.77
#4F33AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4F33AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F33AB
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F33AB#FFFFFF#000000##FFFFFF
##4F33AB1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0047A9
Tritanopia (blue-blind)
#2A526B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4f33ab;
/* rgb */ color: rgb(79, 51, 171);
/* oklch */ color: oklch(43.0% 0.180 286.9);
Tailwind
colors: {
  custom: {
    50: '#8a6dc5',
    500: '#4f33ab',
    950: '#000000',
  },
}
SCSS
$custom: #4f33ab;
$custom-light: #8a6dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f33ab",
  "rgb": {
    "r": 79,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 254,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43044,
    "c": 0.18028,
    "h": 286.9
  },
  "luminance": 0.0697
}

Semantic roles & 50–950 ramp

primary
#4F33AB
secondary
#B1C278
accent
#DD4ABB
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4F33AB

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

Preview Lab → · Contrast checker → · Palette generator →

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