#4B2CA8#4B2CA8

#4B2CA8 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.185 H 286.7°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#4B2CA8
RGBrgb(75, 44, 168)
HSLhsl(255, 58%, 42%)
HSVhsv(255, 74%, 66%)
CMYKcmyk(55.4%, 73.8%, 0%, 34.1%)
CIE-LABlab(29.72, 45.60, -61.54)
CIE-LCHlch(29.72, 76.60, 306.54°)
OKLaboklab(41.43% 0.0531 -0.1771)
OKLCHoklch(41.43% 0.185 286.7)
XYZxyz(10.8681, 6.1238, 37.6475)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2CA8 #89A82C
analogous
#2C4BA8 #4B2CA8 #892CA8
triadic
#4B2CA8 #A84B2C #2CA84B
tetradic
#4B2CA8 #A82C4B #89A82C #2CA889
square
#4B2CA8 #A82C4B #89A82C #2CA889
split-complementary
#4B2CA8 #A8892C #4BA82C
monochromatic
#201347 #351F78 #4B2CA8 #6643CE #8E74DB

Accessibility & contrast

On white

9.44
#4B2CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4B2CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2CA8
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2CA8#FFFFFF#000000##FFFFFF
##4B2CA81.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#0042A6
Tritanopia (blue-blind)
#234E67
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4b2ca8;
/* rgb */ color: rgb(75, 44, 168);
/* oklch */ color: oklch(41.4% 0.185 286.7);
Tailwind
colors: {
  custom: {
    50: '#8768c3',
    500: '#4b2ca8',
    950: '#000000',
  },
}
SCSS
$custom: #4b2ca8;
$custom-light: #8768c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2ca8",
  "rgb": {
    "r": 75,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 255,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41434,
    "c": 0.18485,
    "h": 286.7
  },
  "luminance": 0.06124
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B2CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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