#4B2FC9#4B2FC9

#4B2FC9 is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.0% C 0.221 H 281.2°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#4B2FC9
RGBrgb(75, 47, 201)
HSLhsl(251, 62%, 49%)
HSVhsv(251, 77%, 79%)
CMYKcmyk(62.7%, 76.6%, 0%, 21.2%)
CIE-LABlab(33.45, 53.78, -74.97)
CIE-LCHlch(33.45, 92.26, 305.65°)
OKLaboklab(45.02% 0.0427 -0.2163)
OKLCHoklch(45.02% 0.221 281.2)
XYZxyz(14.4575, 7.7448, 55.9801)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2FC9 #ADC92F
analogous
#2F60C9 #4B2FC9 #982FC9
triadic
#4B2FC9 #C94B2F #2FC94B
tetradic
#4B2FC9 #C92F60 #ADC92F #2FC998
square
#4B2FC9 #C92F60 #ADC92F #2FC998
split-complementary
#4B2FC9 #C9982F #60C92F
monochromatic
#261866 #382397 #4B2FC9 #735CD9 #9E8EE5

Accessibility & contrast

On white

8.24
#4B2FC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4B2FC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2FC9
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2FC9#FFFFFF#000000##FFFFFF
##4B2FC91.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CD
Deuteranopia (green-blind)
#0049C6
Tritanopia (blue-blind)
#005C7B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4b2fc9;
/* rgb */ color: rgb(75, 47, 201);
/* oklch */ color: oklch(45.0% 0.221 281.2);
Tailwind
colors: {
  custom: {
    50: '#8d6cdb',
    500: '#4b2fc9',
    950: '#000000',
  },
}
SCSS
$custom: #4b2fc9;
$custom-light: #8d6cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2fc9",
  "rgb": {
    "r": 75,
    "g": 47,
    "b": 201
  },
  "hsl": {
    "h": 250.909,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45015,
    "c": 0.2205,
    "h": 281.2
  },
  "luminance": 0.07746
}

Semantic roles & 50–950 ramp

primary
#4B2FC9
secondary
#C1CF85
accent
#E543C8
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4B2FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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