#4F33C1#4F33C1

#4F33C1 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.1% C 0.207 H 283.4°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#4F33C1
RGBrgb(79, 51, 193)
HSLhsl(252, 58%, 48%)
HSVhsv(252, 74%, 76%)
CMYKcmyk(59.1%, 73.6%, 0%, 24.3%)
CIE-LABlab(33.73, 49.90, -69.81)
CIE-LCHlch(33.73, 85.81, 305.56°)
OKLaboklab(45.07% 0.0478 -0.2011)
OKLCHoklch(45.07% 0.207 283.4)
XYZxyz(14.0309, 7.8793, 51.2232)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F33C1 #A5C133
analogous
#335EC1 #4F33C1 #9633C1
triadic
#4F33C1 #C14F33 #33C14F
tetradic
#4F33C1 #C1335E #A5C133 #33C196
square
#4F33C1 #C1335E #A5C133 #33C196
split-complementary
#4F33C1 #C19633 #5EC133
monochromatic
#271960 #3B2691 #4F33C1 #755DD4 #9E8DE1

Accessibility & contrast

On white

8.15
#4F33C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4F33C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F33C1
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F33C1#FFFFFF#000000##FFFFFF
##4F33C11.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C5
Deuteranopia (green-blind)
#004BBE
Tritanopia (blue-blind)
#015A77
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f33c1;
/* rgb */ color: rgb(79, 51, 193);
/* oklch */ color: oklch(45.1% 0.207 283.4);
Tailwind
colors: {
  custom: {
    50: '#8d6ed5',
    500: '#4f33c1',
    950: '#000000',
  },
}
SCSS
$custom: #4f33c1;
$custom-light: #8d6ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f33c1",
  "rgb": {
    "r": 79,
    "g": 51,
    "b": 193
  },
  "hsl": {
    "h": 251.831,
    "s": 58.197,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45068,
    "c": 0.20675,
    "h": 283.4
  },
  "luminance": 0.0788
}

Semantic roles & 50–950 ramp

primary
#4F33C1
secondary
#BDCB84
accent
#E146C3
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4F33C1

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

Preview Lab → · Contrast checker → · Palette generator →

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