#4F33BC#4F33BC

#4F33BC is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.6% C 0.201 H 284.1°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#4F33BC
RGBrgb(79, 51, 188)
HSLhsl(252, 57%, 47%)
HSVhsv(252, 73%, 74%)
CMYKcmyk(58%, 72.9%, 0%, 26.3%)
CIE-LABlab(33.26, 48.42, -67.63)
CIE-LCHlch(33.26, 83.18, 305.60°)
OKLaboklab(44.6% 0.0489 -0.1948)
OKLCHoklch(44.6% 0.201 284.1)
XYZxyz(13.4826, 7.6599, 48.3353)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F33BC #A0BC33
analogous
#335CBC #4F33BC #9433BC
triadic
#4F33BC #BC4F33 #33BC4F
tetradic
#4F33BC #BC335C #A0BC33 #33BC94
square
#4F33BC #BC335C #A0BC33 #33BC94
split-complementary
#4F33BC #BC9433 #5CBC33
monochromatic
#27195C #3B268C #4F33BC #735AD2 #9C8ADF

Accessibility & contrast

On white

8.29
#4F33BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4F33BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F33BC
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F33BC#FFFFFF#000000##FFFFFF
##4F33BC1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C0
Deuteranopia (green-blind)
#004AB9
Tritanopia (blue-blind)
#115974
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f33bc;
/* rgb */ color: rgb(79, 51, 188);
/* oklch */ color: oklch(44.6% 0.201 284.1);
Tailwind
colors: {
  custom: {
    50: '#8c6ed1',
    500: '#4f33bc',
    950: '#000000',
  },
}
SCSS
$custom: #4f33bc;
$custom-light: #8c6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f33bc",
  "rgb": {
    "r": 79,
    "g": 51,
    "b": 188
  },
  "hsl": {
    "h": 252.263,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44597,
    "c": 0.20083,
    "h": 284.1
  },
  "luminance": 0.07661
}

Semantic roles & 50–950 ramp

primary
#4F33BC
secondary
#BBC981
accent
#E147C1
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4F33BC

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

Preview Lab → · Contrast checker → · Palette generator →

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