#4B2CB8#4B2CB8

#4B2CB8 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.0% C 0.204 H 284.0°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#4B2CB8
RGBrgb(75, 44, 184)
HSLhsl(253, 61%, 45%)
HSVhsv(253, 76%, 72%)
CMYKcmyk(59.2%, 76.1%, 0%, 27.8%)
CIE-LABlab(31.25, 50.29, -68.59)
CIE-LCHlch(31.25, 85.05, 306.25°)
OKLaboklab(42.97% 0.0491 -0.1977)
OKLCHoklch(42.97% 0.204 284)
XYZxyz(12.4514, 6.7571, 45.9862)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2CB8 #99B82C
analogous
#2C53B8 #4B2CB8 #912CB8
triadic
#4B2CB8 #B84B2C #2CB84B
tetradic
#4B2CB8 #B82C53 #99B82C #2CB891
square
#4B2CB8 #B82C53 #99B82C #2CB891
split-complementary
#4B2CB8 #B8912C #53B82C
monochromatic
#231455 #372087 #4B2CB8 #6B4DD4 #947EE0

Accessibility & contrast

On white

8.93
#4B2CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B2CB8
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2CB8#FFFFFF#000000##FFFFFF
##4B2CB81.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBC
Deuteranopia (green-blind)
#0045B5
Tritanopia (blue-blind)
#025470
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4b2cb8;
/* rgb */ color: rgb(75, 44, 184);
/* oklch */ color: oklch(43.0% 0.204 284.0);
Tailwind
colors: {
  custom: {
    50: '#8a69cf',
    500: '#4b2cb8',
    950: '#000000',
  },
}
SCSS
$custom: #4b2cb8;
$custom-light: #8a69cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2cb8",
  "rgb": {
    "r": 75,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 253.286,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4297,
    "c": 0.20369,
    "h": 284
  },
  "luminance": 0.06758
}

Semantic roles & 50–950 ramp

primary
#4B2CB8
secondary
#B7C977
accent
#E543C1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4B2CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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