#4B2CB3#4B2CB3

#4B2CB3 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.198 H 284.8°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#4B2CB3
RGBrgb(75, 44, 179)
HSLhsl(254, 61%, 44%)
HSVhsv(254, 75%, 70%)
CMYKcmyk(58.1%, 75.4%, 0%, 29.8%)
CIE-LABlab(30.76, 48.83, -66.42)
CIE-LCHlch(30.76, 82.44, 306.32°)
OKLaboklab(42.48% 0.0504 -0.1913)
OKLCHoklch(42.48% 0.198 284.8)
XYZxyz(11.9365, 6.5512, 43.2746)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2CB3 #94B32C
analogous
#2C50B3 #4B2CB3 #8E2CB3
triadic
#4B2CB3 #B34B2C #2CB34B
tetradic
#4B2CB3 #B32C50 #94B32C #2CB38E
square
#4B2CB3 #B32C50 #94B32C #2CB38E
split-complementary
#4B2CB3 #B38E2C #50B32C
monochromatic
#221451 #362082 #4B2CB3 #694AD2 #927BDF

Accessibility & contrast

On white

9.09
#4B2CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4B2CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2CB3
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2CB3#FFFFFF#000000##FFFFFF
##4B2CB31.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0044B1
Tritanopia (blue-blind)
#11526E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4b2cb3;
/* rgb */ color: rgb(75, 44, 179);
/* oklch */ color: oklch(42.5% 0.198 284.8);
Tailwind
colors: {
  custom: {
    50: '#8969cb',
    500: '#4b2cb3',
    950: '#000000',
  },
}
SCSS
$custom: #4b2cb3;
$custom-light: #8969cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2cb3",
  "rgb": {
    "r": 75,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 253.778,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42483,
    "c": 0.19786,
    "h": 284.8
  },
  "luminance": 0.06552
}

Semantic roles & 50–950 ramp

primary
#4B2CB3
secondary
#B4C774
accent
#E444BF
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4B2CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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