#4B2FB1#4B2FB1

#4B2FB1 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.192 H 284.7°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#4B2FB1
RGBrgb(75, 47, 177)
HSLhsl(253, 58%, 44%)
HSVhsv(253, 73%, 69%)
CMYKcmyk(57.6%, 73.4%, 0%, 30.6%)
CIE-LABlab(31.12, 46.69, -64.64)
CIE-LCHlch(31.12, 79.74, 305.84°)
OKLaboklab(42.68% 0.0487 -0.1861)
OKLCHoklch(42.68% 0.192 284.7)
XYZxyz(11.8516, 6.7025, 42.2557)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2FB1 #95B12F
analogous
#2F54B1 #4B2FB1 #8C2FB1
triadic
#4B2FB1 #B14B2F #2FB14B
tetradic
#4B2FB1 #B12F54 #95B12F #2FB18C
square
#4B2FB1 #B12F54 #95B12F #2FB18C
split-complementary
#4B2FB1 #B18C2F #54B12F
monochromatic
#221550 #372281 #4B2FB1 #694DD0 #927EDD

Accessibility & contrast

On white

8.97
#4B2FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4B2FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2FB1
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2FB1#FFFFFF#000000##FFFFFF
##4B2FB11.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#0045AF
Tritanopia (blue-blind)
#15536D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4b2fb1;
/* rgb */ color: rgb(75, 47, 177);
/* oklch */ color: oklch(42.7% 0.192 284.7);
Tailwind
colors: {
  custom: {
    50: '#896bc9',
    500: '#4b2fb1',
    950: '#000000',
  },
}
SCSS
$custom: #4b2fb1;
$custom-light: #896bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2fb1",
  "rgb": {
    "r": 75,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 252.923,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42677,
    "c": 0.1924,
    "h": 284.7
  },
  "luminance": 0.06703
}

Semantic roles & 50–950 ramp

primary
#4B2FB1
secondary
#B4C576
accent
#E147C0
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4B2FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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