#4B2FB4#4B2FB4

#4B2FB4 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.196 H 284.2°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#4B2FB4
RGBrgb(75, 47, 180)
HSLhsl(253, 59%, 45%)
HSVhsv(253, 74%, 71%)
CMYKcmyk(58.3%, 73.9%, 0%, 29.4%)
CIE-LABlab(31.40, 47.58, -65.97)
CIE-LCHlch(31.40, 81.34, 305.80°)
OKLaboklab(42.96% 0.048 -0.19)
OKLCHoklch(42.96% 0.196 284.2)
XYZxyz(12.1539, 6.8234, 43.8478)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2FB4 #98B42F
analogous
#2F55B4 #4B2FB4 #8E2FB4
triadic
#4B2FB4 #B44B2F #2FB44B
tetradic
#4B2FB4 #B42F55 #98B42F #2FB48E
square
#4B2FB4 #B42F55 #98B42F #2FB48E
split-complementary
#4B2FB4 #B48E2F #55B42F
monochromatic
#231653 #372283 #4B2FB4 #6A4FD1 #9380DE

Accessibility & contrast

On white

8.88
#4B2FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4B2FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2FB4
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2FB4#FFFFFF#000000##FFFFFF
##4B2FB41.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#0046B2
Tritanopia (blue-blind)
#0E546F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4b2fb4;
/* rgb */ color: rgb(75, 47, 180);
/* oklch */ color: oklch(43.0% 0.196 284.2);
Tailwind
colors: {
  custom: {
    50: '#896bcc',
    500: '#4b2fb4',
    950: '#000000',
  },
}
SCSS
$custom: #4b2fb4;
$custom-light: #896bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2fb4",
  "rgb": {
    "r": 75,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 252.632,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42962,
    "c": 0.19598,
    "h": 284.2
  },
  "luminance": 0.06824
}

Semantic roles & 50–950 ramp

primary
#4B2FB4
secondary
#B6C778
accent
#E246C1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4B2FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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