#4B2FCC#4B2FCC

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

Color values

HEX#4B2FCC
RGBrgb(75, 47, 204)
HSLhsl(251, 63%, 49%)
HSVhsv(251, 77%, 80%)
CMYKcmyk(63.2%, 77%, 0%, 20%)
CIE-LABlab(33.75, 54.65, -76.22)
CIE-LCHlch(33.75, 93.79, 305.64°)
OKLaboklab(45.32% 0.0419 -0.22)
OKLCHoklch(45.32% 0.224 280.8)
XYZxyz(14.8138, 7.8874, 57.8568)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2FCC #B0CC2F
analogous
#2F61CC #4B2FCC #9A2FCC
triadic
#4B2FCC #CC4B2F #2FCC4B
tetradic
#4B2FCC #CC2F61 #B0CC2F #2FCC9A
square
#4B2FCC #CC2F61 #B0CC2F #2FCC9A
split-complementary
#4B2FCC #CC9A2F #61CC2F
monochromatic
#261869 #39249A #4B2FCC #745EDA #9F90E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B2FCC#FFFFFF#000000##FFFFFF
##4B2FCC1.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)
#0055D0
Deuteranopia (green-blind)
#0049C9
Tritanopia (blue-blind)
#005D7D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4b2fcc;
/* rgb */ color: rgb(75, 47, 204);
/* oklch */ color: oklch(45.3% 0.224 280.8);
Tailwind
colors: {
  custom: {
    50: '#8d6cdd',
    500: '#4b2fcc',
    950: '#000000',
  },
}
SCSS
$custom: #4b2fcc;
$custom-light: #8d6cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2fcc",
  "rgb": {
    "r": 75,
    "g": 47,
    "b": 204
  },
  "hsl": {
    "h": 250.701,
    "s": 62.55,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45316,
    "c": 0.22393,
    "h": 280.8
  },
  "luminance": 0.07889
}

Semantic roles & 50–950 ramp

primary
#4B2FCC
secondary
#C3D087
accent
#E642C8
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4B2FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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