#4B2FB3#4B2FB3

#4B2FB3 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.195 H 284.3°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#4B2FB3
RGBrgb(75, 47, 179)
HSLhsl(253, 58%, 44%)
HSVhsv(253, 74%, 70%)
CMYKcmyk(58.1%, 73.7%, 0%, 29.8%)
CIE-LABlab(31.31, 47.29, -65.53)
CIE-LCHlch(31.31, 80.81, 305.82°)
OKLaboklab(42.87% 0.0482 -0.1887)
OKLCHoklch(42.87% 0.195 284.3)
XYZxyz(12.0524, 6.7828, 43.3132)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2FB3 #97B32F
analogous
#2F55B3 #4B2FB3 #8D2FB3
triadic
#4B2FB3 #B34B2F #2FB34B
tetradic
#4B2FB3 #B32F55 #97B32F #2FB38D
square
#4B2FB3 #B32F55 #97B32F #2FB38D
split-complementary
#4B2FB3 #B38D2F #55B32F
monochromatic
#221652 #372283 #4B2FB3 #6A4FD1 #937FDD

Accessibility & contrast

On white

8.91
#4B2FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B2FB3
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2FB3#FFFFFF#000000##FFFFFF
##4B2FB31.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0045B1
Tritanopia (blue-blind)
#11536E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4b2fb3;
/* rgb */ color: rgb(75, 47, 179);
/* oklch */ color: oklch(42.9% 0.195 284.3);
Tailwind
colors: {
  custom: {
    50: '#896bcb',
    500: '#4b2fb3',
    950: '#000000',
  },
}
SCSS
$custom: #4b2fb3;
$custom-light: #896bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2fb3",
  "rgb": {
    "r": 75,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 252.727,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42867,
    "c": 0.19479,
    "h": 284.3
  },
  "luminance": 0.06784
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B2FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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