#4B2FC5#4B2FC5

#4B2FC5 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.6% C 0.216 H 281.7°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#4B2FC5
RGBrgb(75, 47, 197)
HSLhsl(251, 61%, 48%)
HSVhsv(251, 76%, 77%)
CMYKcmyk(61.9%, 76.1%, 0%, 22.7%)
CIE-LABlab(33.05, 52.60, -73.29)
CIE-LCHlch(33.05, 90.21, 305.67°)
OKLaboklab(44.62% 0.0438 -0.2114)
OKLCHoklch(44.62% 0.216 281.7)
XYZxyz(13.9930, 7.5591, 53.5342)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2FC5 #A9C52F
analogous
#2F5EC5 #4B2FC5 #962FC5
triadic
#4B2FC5 #C54B2F #2FC54B
tetradic
#4B2FC5 #C52F5E #A9C52F #2FC596
square
#4B2FC5 #C52F5E #A9C52F #2FC596
split-complementary
#4B2FC5 #C5962F #5EC52F
monochromatic
#251762 #382394 #4B2FC5 #715AD8 #9C8BE3

Accessibility & contrast

On white

8.36
#4B2FC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4B2FC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2FC5
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2FC5#FFFFFF#000000##FFFFFF
##4B2FC51.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C9
Deuteranopia (green-blind)
#0048C2
Tritanopia (blue-blind)
#005A79
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4b2fc5;
/* rgb */ color: rgb(75, 47, 197);
/* oklch */ color: oklch(44.6% 0.216 281.7);
Tailwind
colors: {
  custom: {
    50: '#8c6cd8',
    500: '#4b2fc5',
    950: '#000000',
  },
}
SCSS
$custom: #4b2fc5;
$custom-light: #8c6cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2fc5",
  "rgb": {
    "r": 75,
    "g": 47,
    "b": 197
  },
  "hsl": {
    "h": 251.2,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44616,
    "c": 0.21589,
    "h": 281.7
  },
  "luminance": 0.0756
}

Semantic roles & 50–950 ramp

primary
#4B2FC5
secondary
#BFCD82
accent
#E543C6
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4B2FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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