#4B2FB8#4B2FB8

#4B2FB8 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.3% C 0.201 H 283.5°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#4B2FB8
RGBrgb(75, 47, 184)
HSLhsl(252, 59%, 45%)
HSVhsv(252, 74%, 72%)
CMYKcmyk(59.2%, 74.5%, 0%, 27.8%)
CIE-LABlab(31.78, 48.77, -67.72)
CIE-LCHlch(31.78, 83.45, 305.76°)
OKLaboklab(43.35% 0.047 -0.1951)
OKLCHoklch(43.35% 0.201 283.5)
XYZxyz(12.5672, 6.9888, 46.0248)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2FB8 #9CB82F
analogous
#2F57B8 #4B2FB8 #8F2FB8
triadic
#4B2FB8 #B84B2F #2FB84B
tetradic
#4B2FB8 #B82F57 #9CB82F #2FB88F
square
#4B2FB8 #B82F57 #9CB82F #2FB88F
split-complementary
#4B2FB8 #B88F2F #57B82F
monochromatic
#231657 #372387 #4B2FB8 #6C52D3 #9582DF

Accessibility & contrast

On white

8.76
#4B2FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4B2FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2FB8
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2FB8#FFFFFF#000000##FFFFFF
##4B2FB81.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBC
Deuteranopia (green-blind)
#0046B5
Tritanopia (blue-blind)
#025571
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4b2fb8;
/* rgb */ color: rgb(75, 47, 184);
/* oklch */ color: oklch(43.3% 0.201 283.5);
Tailwind
colors: {
  custom: {
    50: '#8a6bcf',
    500: '#4b2fb8',
    950: '#000000',
  },
}
SCSS
$custom: #4b2fb8;
$custom-light: #8a6bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2fb8",
  "rgb": {
    "r": 75,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 252.263,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43345,
    "c": 0.20072,
    "h": 283.5
  },
  "luminance": 0.0699
}

Semantic roles & 50–950 ramp

primary
#4B2FB8
secondary
#B8C87B
accent
#E245C2
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4B2FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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