#4B30BA#4B30BA

#4B30BA is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 43.7% C 0.202 H 283.1°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#4B30BA
RGBrgb(75, 48, 186)
HSLhsl(252, 59%, 46%)
HSVhsv(252, 74%, 73%)
CMYKcmyk(59.7%, 74.2%, 0%, 27.1%)
CIE-LABlab(32.16, 48.85, -68.29)
CIE-LCHlch(32.16, 83.96, 305.58°)
OKLaboklab(43.67% 0.0458 -0.1968)
OKLCHoklch(43.67% 0.202 283.1)
XYZxyz(12.8188, 7.1541, 47.1502)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B30BA #9FBA30
analogous
#305ABA #4B30BA #9030BA
triadic
#4B30BA #BA4B30 #30BA4B
tetradic
#4B30BA #BA305A #9FBA30 #30BA90
square
#4B30BA #BA305A #9FBA30 #30BA90
split-complementary
#4B30BA #BA9030 #5ABA30
monochromatic
#241759 #372389 #4B30BA #6D54D3 #9785DF

Accessibility & contrast

On white

8.64
#4B30BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4B30BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B30BA
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B30BA#FFFFFF#000000##FFFFFF
##4B30BA1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b30ba;
/* rgb */ color: rgb(75, 48, 186);
/* oklch */ color: oklch(43.7% 0.202 283.1);
Tailwind
colors: {
  custom: {
    50: '#8a6cd0',
    500: '#4b30ba',
    950: '#000000',
  },
}
SCSS
$custom: #4b30ba;
$custom-light: #8a6cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b30ba",
  "rgb": {
    "r": 75,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 251.739,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43667,
    "c": 0.20208,
    "h": 283.1
  },
  "luminance": 0.07155
}

Semantic roles & 50–950 ramp

primary
#4B30BA
secondary
#BAC97D
accent
#E246C4
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4B30BA

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

Preview Lab → · Contrast checker → · Palette generator →

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