#4B2BB2#4B2BB2

#4B2BB2 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.198 H 285.1°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#4B2BB2
RGBrgb(75, 43, 178)
HSLhsl(254, 61%, 43%)
HSVhsv(254, 76%, 70%)
CMYKcmyk(57.9%, 75.8%, 0%, 30.2%)
CIE-LABlab(30.49, 49.04, -66.27)
CIE-LCHlch(30.49, 82.44, 306.50°)
OKLaboklab(42.26% 0.0514 -0.1909)
OKLCHoklch(42.26% 0.198 285.1)
XYZxyz(11.7990, 6.4372, 42.7316)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2BB2 #92B22B
analogous
#2B4EB2 #4B2BB2 #8E2BB2
triadic
#4B2BB2 #B24B2B #2BB24B
tetradic
#4B2BB2 #B22B4E #92B22B #2BB28E
square
#4B2BB2 #B22B4E #92B22B #2BB28E
split-complementary
#4B2BB2 #B28E2B #4EB22B
monochromatic
#21134F #361F81 #4B2BB2 #6948D3 #9179DF

Accessibility & contrast

On white

9.18
#4B2BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4B2BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2BB2
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2BB2#FFFFFF#000000##FFFFFF
##4B2BB21.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#14516D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4b2bb2;
/* rgb */ color: rgb(75, 43, 178);
/* oklch */ color: oklch(42.3% 0.198 285.1);
Tailwind
colors: {
  custom: {
    50: '#8968ca',
    500: '#4b2bb2',
    950: '#000000',
  },
}
SCSS
$custom: #4b2bb2;
$custom-light: #8968ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2bb2",
  "rgb": {
    "r": 75,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 254.222,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42262,
    "c": 0.19768,
    "h": 285.1
  },
  "luminance": 0.06438
}

Semantic roles & 50–950 ramp

primary
#4B2BB2
secondary
#B3C772
accent
#E444BE
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4B2BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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