#4B30BB#4B30BB

#4B30BB is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 43.8% C 0.203 H 283.0°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#4B30BB
RGBrgb(75, 48, 187)
HSLhsl(252, 59%, 46%)
HSVhsv(252, 74%, 73%)
CMYKcmyk(59.9%, 74.3%, 0%, 26.7%)
CIE-LABlab(32.25, 49.15, -68.72)
CIE-LCHlch(32.25, 84.48, 305.57°)
OKLaboklab(43.76% 0.0456 -0.1981)
OKLCHoklch(43.76% 0.203 283)
XYZxyz(12.9255, 7.1967, 47.7121)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B30BB #A0BB30
analogous
#305ABB #4B30BB #9030BB
triadic
#4B30BB #BB4B30 #30BB4B
tetradic
#4B30BB #BB305A #A0BB30 #30BB90
square
#4B30BB #BB305A #A0BB30 #30BB90
split-complementary
#4B30BB #BB9030 #5ABB30
monochromatic
#24175A #37238A #4B30BB #6D55D3 #9786E0

Accessibility & contrast

On white

8.61
#4B30BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4B30BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B30BB
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B30BB#FFFFFF#000000##FFFFFF
##4B30BB1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BF
Deuteranopia (green-blind)
#0047B8
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4b30bb;
/* rgb */ color: rgb(75, 48, 187);
/* oklch */ color: oklch(43.8% 0.203 283.0);
Tailwind
colors: {
  custom: {
    50: '#8a6cd1',
    500: '#4b30bb',
    950: '#000000',
  },
}
SCSS
$custom: #4b30bb;
$custom-light: #8a6cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b30bb",
  "rgb": {
    "r": 75,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 251.655,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43763,
    "c": 0.20325,
    "h": 283
  },
  "luminance": 0.07198
}

Semantic roles & 50–950 ramp

primary
#4B30BB
secondary
#BBC97D
accent
#E245C4
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4B30BB

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

Preview Lab → · Contrast checker → · Palette generator →

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