#4B30BC#4B30BC

#4B30BC is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 43.9% C 0.204 H 282.8°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#4B30BC
RGBrgb(75, 48, 188)
HSLhsl(252, 59%, 46%)
HSVhsv(252, 74%, 74%)
CMYKcmyk(60.1%, 74.5%, 0%, 26.3%)
CIE-LABlab(32.35, 49.44, -69.15)
CIE-LCHlch(32.35, 85.01, 305.56°)
OKLaboklab(43.86% 0.0454 -0.1993)
OKLCHoklch(43.86% 0.204 282.8)
XYZxyz(13.0329, 7.2397, 48.2778)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B30BC #A1BC30
analogous
#305BBC #4B30BC #9130BC
triadic
#4B30BC #BC4B30 #30BC4B
tetradic
#4B30BC #BC305B #A1BC30 #30BC91
square
#4B30BC #BC305B #A1BC30 #30BC91
split-complementary
#4B30BC #BC9130 #5BBC30
monochromatic
#24175A #38248B #4B30BC #6E55D4 #9886E0

Accessibility & contrast

On white

8.58
#4B30BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4B30BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B30BC
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B30BC#FFFFFF#000000##FFFFFF
##4B30BC1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C0
Deuteranopia (green-blind)
#0047B9
Tritanopia (blue-blind)
#005774
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4b30bc;
/* rgb */ color: rgb(75, 48, 188);
/* oklch */ color: oklch(43.9% 0.204 282.8);
Tailwind
colors: {
  custom: {
    50: '#8b6cd1',
    500: '#4b30bc',
    950: '#000000',
  },
}
SCSS
$custom: #4b30bc;
$custom-light: #8b6cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b30bc",
  "rgb": {
    "r": 75,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 251.571,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4386,
    "c": 0.20443,
    "h": 282.8
  },
  "luminance": 0.07241
}

Semantic roles & 50–950 ramp

primary
#4B30BC
secondary
#BBCA7E
accent
#E345C4
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4B30BC

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

Preview Lab → · Contrast checker → · Palette generator →

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