#4B2CC8#4B2CC8

#4B2CC8 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.6% C 0.222 H 281.6°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#4B2CC8
RGBrgb(75, 44, 200)
HSLhsl(252, 64%, 48%)
HSVhsv(252, 78%, 78%)
CMYKcmyk(62.5%, 78%, 0%, 21.6%)
CIE-LABlab(32.85, 54.92, -75.38)
CIE-LCHlch(32.85, 93.26, 306.08°)
OKLaboklab(44.57% 0.0447 -0.2175)
OKLCHoklch(44.57% 0.222 281.6)
XYZxyz(14.2244, 7.4663, 55.3239)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2CC8 #A9C82C
analogous
#2C5BC8 #4B2CC8 #992CC8
triadic
#4B2CC8 #C84B2C #2CC84B
tetradic
#4B2CC8 #C82C5B #A9C82C #2CC899
square
#4B2CC8 #C82C5B #A9C82C #2CC899
split-complementary
#4B2CC8 #C8992C #5BC82C
monochromatic
#251664 #382196 #4B2CC8 #7157DA #9C89E5

Accessibility & contrast

On white

8.42
#4B2CC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4B2CC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2CC8
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2CC8#FFFFFF#000000##FFFFFF
##4B2CC81.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CC
Deuteranopia (green-blind)
#0048C5
Tritanopia (blue-blind)
#005A7A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4b2cc8;
/* rgb */ color: rgb(75, 44, 200);
/* oklch */ color: oklch(44.6% 0.222 281.6);
Tailwind
colors: {
  custom: {
    50: '#8d6ada',
    500: '#4b2cc8',
    950: '#000000',
  },
}
SCSS
$custom: #4b2cc8;
$custom-light: #8d6ada;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2cc8",
  "rgb": {
    "r": 75,
    "g": 44,
    "b": 200
  },
  "hsl": {
    "h": 251.923,
    "s": 63.934,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44566,
    "c": 0.22202,
    "h": 281.6
  },
  "luminance": 0.07467
}

Semantic roles & 50–950 ramp

primary
#4B2CC8
secondary
#BFCF81
accent
#E741C6
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4B2CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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