#4F33BB#4F33BB

#4F33BB is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.200 H 284.2°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#4F33BB
RGBrgb(79, 51, 187)
HSLhsl(252, 57%, 47%)
HSVhsv(252, 73%, 73%)
CMYKcmyk(57.8%, 72.7%, 0%, 26.7%)
CIE-LABlab(33.17, 48.12, -67.19)
CIE-LCHlch(33.17, 82.65, 305.61°)
OKLaboklab(44.5% 0.0491 -0.1935)
OKLCHoklch(44.5% 0.2 284.2)
XYZxyz(13.3752, 7.6169, 47.7695)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F33BB #9FBB33
analogous
#335BBB #4F33BB #9333BB
triadic
#4F33BB #BB4F33 #33BB4F
tetradic
#4F33BB #BB335B #9FBB33 #33BB93
square
#4F33BB #BB335B #9FBB33 #33BB93
split-complementary
#4F33BB #BB9333 #5BBB33
monochromatic
#26195B #3B268B #4F33BB #7259D2 #9B89DF

Accessibility & contrast

On white

8.32
#4F33BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4F33BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F33BB
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F33BB#FFFFFF#000000##FFFFFF
##4F33BB1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#004AB8
Tritanopia (blue-blind)
#145874
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f33bb;
/* rgb */ color: rgb(79, 51, 187);
/* oklch */ color: oklch(44.5% 0.200 284.2);
Tailwind
colors: {
  custom: {
    50: '#8c6ed1',
    500: '#4f33bb',
    950: '#000000',
  },
}
SCSS
$custom: #4f33bb;
$custom-light: #8c6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f33bb",
  "rgb": {
    "r": 79,
    "g": 51,
    "b": 187
  },
  "hsl": {
    "h": 252.353,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44504,
    "c": 0.19964,
    "h": 284.2
  },
  "luminance": 0.07618
}

Semantic roles & 50–950 ramp

primary
#4F33BB
secondary
#BAC981
accent
#E047C1
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4F33BB

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

Preview Lab → · Contrast checker → · Palette generator →

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