#4B2FB2#4B2FB2

#4B2FB2 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.8% C 0.194 H 284.5°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#4B2FB2
RGBrgb(75, 47, 178)
HSLhsl(253, 58%, 44%)
HSVhsv(253, 74%, 70%)
CMYKcmyk(57.9%, 73.6%, 0%, 30.2%)
CIE-LABlab(31.21, 46.99, -65.08)
CIE-LCHlch(31.21, 80.27, 305.83°)
OKLaboklab(42.77% 0.0484 -0.1874)
OKLCHoklch(42.77% 0.194 284.5)
XYZxyz(11.9516, 6.7425, 42.7825)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2FB2 #96B22F
analogous
#2F55B2 #4B2FB2 #8D2FB2
triadic
#4B2FB2 #B24B2F #2FB24B
tetradic
#4B2FB2 #B22F55 #96B22F #2FB28D
square
#4B2FB2 #B22F55 #96B22F #2FB28D
split-complementary
#4B2FB2 #B28D2F #55B22F
monochromatic
#221551 #372282 #4B2FB2 #6A4ED0 #937EDD

Accessibility & contrast

On white

8.94
#4B2FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4B2FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2FB2
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2FB2#FFFFFF#000000##FFFFFF
##4B2FB21.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#0045B0
Tritanopia (blue-blind)
#13536E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4b2fb2;
/* rgb */ color: rgb(75, 47, 178);
/* oklch */ color: oklch(42.8% 0.194 284.5);
Tailwind
colors: {
  custom: {
    50: '#896bca',
    500: '#4b2fb2',
    950: '#000000',
  },
}
SCSS
$custom: #4b2fb2;
$custom-light: #896bca;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2fb2",
  "rgb": {
    "r": 75,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 252.824,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42772,
    "c": 0.1936,
    "h": 284.5
  },
  "luminance": 0.06743
}

Semantic roles & 50–950 ramp

primary
#4B2FB2
secondary
#B5C677
accent
#E146C0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4B2FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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