#4B2FC2#4B2FC2

#4B2FC2 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.3% C 0.212 H 282.1°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#4B2FC2
RGBrgb(75, 47, 194)
HSLhsl(251, 61%, 47%)
HSVhsv(251, 76%, 76%)
CMYKcmyk(61.3%, 75.8%, 0%, 23.9%)
CIE-LABlab(32.75, 51.72, -72.02)
CIE-LCHlch(32.75, 88.67, 305.69°)
OKLaboklab(44.32% 0.0445 -0.2077)
OKLCHoklch(44.32% 0.212 282.1)
XYZxyz(13.6527, 7.4230, 51.7418)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2FC2 #A6C22F
analogous
#2F5CC2 #4B2FC2 #952FC2
triadic
#4B2FC2 #C24B2F #2FC24B
tetradic
#4B2FC2 #C22F5C #A6C22F #2FC295
square
#4B2FC2 #C22F5C #A6C22F #2FC295
split-complementary
#4B2FC2 #C2952F #5CC22F
monochromatic
#25175F #382391 #4B2FC2 #7058D6 #9A89E2

Accessibility & contrast

On white

8.45
#4B2FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4B2FC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2FC2
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2FC2#FFFFFF#000000##FFFFFF
##4B2FC21.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C6
Deuteranopia (green-blind)
#0048BF
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4b2fc2;
/* rgb */ color: rgb(75, 47, 194);
/* oklch */ color: oklch(44.3% 0.212 282.1);
Tailwind
colors: {
  custom: {
    50: '#8c6bd6',
    500: '#4b2fc2',
    950: '#000000',
  },
}
SCSS
$custom: #4b2fc2;
$custom-light: #8c6bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2fc2",
  "rgb": {
    "r": 75,
    "g": 47,
    "b": 194
  },
  "hsl": {
    "h": 251.429,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4432,
    "c": 0.21242,
    "h": 282.1
  },
  "luminance": 0.07424
}

Semantic roles & 50–950 ramp

primary
#4B2FC2
secondary
#BECC81
accent
#E444C6
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4B2FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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