#4B2CA5#4B2CA5

#4B2CA5 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.181 H 287.3°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#4B2CA5
RGBrgb(75, 44, 165)
HSLhsl(255, 58%, 41%)
HSVhsv(255, 73%, 65%)
CMYKcmyk(54.5%, 73.3%, 0%, 35.3%)
CIE-LABlab(29.45, 44.72, -60.19)
CIE-LCHlch(29.45, 74.98, 306.61°)
OKLaboklab(41.15% 0.0538 -0.1731)
OKLCHoklch(41.15% 0.181 287.3)
XYZxyz(10.5918, 6.0133, 36.1926)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2CA5 #86A52C
analogous
#2C49A5 #4B2CA5 #872CA5
triadic
#4B2CA5 #A54B2C #2CA54B
tetradic
#4B2CA5 #A52C49 #86A52C #2CA587
square
#4B2CA5 #A52C49 #86A52C #2CA587
split-complementary
#4B2CA5 #A5872C #49A52C
monochromatic
#1F1244 #351F75 #4B2CA5 #6542CD #8C72D9

Accessibility & contrast

On white

9.53
#4B2CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4B2CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2CA5
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2CA5#FFFFFF#000000##FFFFFF
##4B2CA51.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#0042A3
Tritanopia (blue-blind)
#264D66
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b2ca5;
/* rgb */ color: rgb(75, 44, 165);
/* oklch */ color: oklch(41.2% 0.181 287.3);
Tailwind
colors: {
  custom: {
    50: '#8768c1',
    500: '#4b2ca5',
    950: '#000000',
  },
}
SCSS
$custom: #4b2ca5;
$custom-light: #8768c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2ca5",
  "rgb": {
    "r": 75,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 255.372,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41154,
    "c": 0.18125,
    "h": 287.3
  },
  "luminance": 0.06014
}

Semantic roles & 50–950 ramp

primary
#4B2CA5
secondary
#ABC16C
accent
#E147BA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B2CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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