#4B2DCC#4B2DCC

#4B2DCC is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.1% C 0.226 H 281.0°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#4B2DCC
RGBrgb(75, 45, 204)
HSLhsl(251, 64%, 49%)
HSVhsv(251, 78%, 80%)
CMYKcmyk(63.2%, 77.9%, 0%, 20%)
CIE-LABlab(33.42, 55.60, -76.77)
CIE-LCHlch(33.42, 94.79, 305.92°)
OKLaboklab(45.08% 0.0431 -0.2215)
OKLCHoklch(45.08% 0.226 281)
XYZxyz(14.7357, 7.7311, 57.8308)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2DCC #AECC2D
analogous
#2D5FCC #4B2DCC #9B2DCC
triadic
#4B2DCC #CC4B2D #2DCC4B
tetradic
#4B2DCC #CC2D5F #AECC2D #2DCC9B
square
#4B2DCC #CC2D5F #AECC2D #2DCC9B
split-complementary
#4B2DCC #CC9B2D #5FCC2D
monochromatic
#261768 #39229A #4B2DCC #735BDB #9E8DE6

Accessibility & contrast

On white

8.25
#4B2DCC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4B2DCC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2DCC
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2DCC#FFFFFF#000000##FFFFFF
##4B2DCC1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054D0
Deuteranopia (green-blind)
#0049C9
Tritanopia (blue-blind)
#005C7C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4b2dcc;
/* rgb */ color: rgb(75, 45, 204);
/* oklch */ color: oklch(45.1% 0.226 281.0);
Tailwind
colors: {
  custom: {
    50: '#8e6bdd',
    500: '#4b2dcc',
    950: '#000000',
  },
}
SCSS
$custom: #4b2dcc;
$custom-light: #8e6bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2dcc",
  "rgb": {
    "r": 75,
    "g": 45,
    "b": 204
  },
  "hsl": {
    "h": 251.321,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45085,
    "c": 0.22568,
    "h": 281
  },
  "luminance": 0.07732
}

Semantic roles & 50–950 ramp

primary
#4B2DCC
secondary
#C2D085
accent
#E741C8
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4B2DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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