#4B2FCD#4B2FCD

#4B2FCD is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.4% C 0.225 H 280.7°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#4B2FCD
RGBrgb(75, 47, 205)
HSLhsl(251, 63%, 49%)
HSVhsv(251, 77%, 80%)
CMYKcmyk(63.4%, 77.1%, 0%, 19.6%)
CIE-LABlab(33.85, 54.94, -76.64)
CIE-LCHlch(33.85, 94.30, 305.64°)
OKLaboklab(45.42% 0.0417 -0.2212)
OKLCHoklch(45.42% 0.225 280.7)
XYZxyz(14.9341, 7.9355, 58.4905)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2FCD #B1CD2F
analogous
#2F62CD #4B2FCD #9A2FCD
triadic
#4B2FCD #CD4B2F #2FCD4B
tetradic
#4B2FCD #CD2F62 #B1CD2F #2FCD9A
square
#4B2FCD #CD2F62 #B1CD2F #2FCD9A
split-complementary
#4B2FCD #CD9A2F #62CD2F
monochromatic
#271869 #39249B #4B2FCD #755FDA #A091E6

Accessibility & contrast

On white

8.12
#4B2FCD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4B2FCD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2FCD
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2FCD#FFFFFF#000000##FFFFFF
##4B2FCD1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D1
Deuteranopia (green-blind)
#004ACA
Tritanopia (blue-blind)
#005E7D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4b2fcd;
/* rgb */ color: rgb(75, 47, 205);
/* oklch */ color: oklch(45.4% 0.225 280.7);
Tailwind
colors: {
  custom: {
    50: '#8e6cde',
    500: '#4b2fcd',
    950: '#000000',
  },
}
SCSS
$custom: #4b2fcd;
$custom-light: #8e6cde;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2fcd",
  "rgb": {
    "r": 75,
    "g": 47,
    "b": 205
  },
  "hsl": {
    "h": 250.633,
    "s": 62.698,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45416,
    "c": 0.22507,
    "h": 280.7
  },
  "luminance": 0.07937
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B2FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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