#4B2CA9#4B2CA9

#4B2CA9 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.5% C 0.186 H 286.5°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#4B2CA9
RGBrgb(75, 44, 169)
HSLhsl(255, 59%, 42%)
HSVhsv(255, 74%, 66%)
CMYKcmyk(55.6%, 74%, 0%, 33.7%)
CIE-LABlab(29.82, 45.90, -61.99)
CIE-LCHlch(29.82, 77.13, 306.52°)
OKLaboklab(41.53% 0.0529 -0.1784)
OKLCHoklch(41.53% 0.186 286.5)
XYZxyz(10.9616, 6.1612, 38.1401)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2CA9 #8AA92C
analogous
#2C4CA9 #4B2CA9 #8A2CA9
triadic
#4B2CA9 #A94B2C #2CA94B
tetradic
#4B2CA9 #A92C4C #8AA92C #2CA98A
square
#4B2CA9 #A92C4C #8AA92C #2CA98A
split-complementary
#4B2CA9 #A98A2C #4CA92C
monochromatic
#201348 #351F78 #4B2CA9 #6644CE #8E74DB

Accessibility & contrast

On white

9.41
#4B2CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4B2CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2CA9
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2CA9#FFFFFF#000000##FFFFFF
##4B2CA91.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#0043A7
Tritanopia (blue-blind)
#214E68
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4b2ca9;
/* rgb */ color: rgb(75, 44, 169);
/* oklch */ color: oklch(41.5% 0.186 286.5);
Tailwind
colors: {
  custom: {
    50: '#8868c4',
    500: '#4b2ca9',
    950: '#000000',
  },
}
SCSS
$custom: #4b2ca9;
$custom-light: #8868c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2ca9",
  "rgb": {
    "r": 75,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 254.88,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41528,
    "c": 0.18604,
    "h": 286.5
  },
  "luminance": 0.06162
}

Semantic roles & 50–950 ramp

primary
#4B2CA9
secondary
#AEC36E
accent
#E246BB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4B2CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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