#4C30BA#4C30BA

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

Color values

HEX#4C30BA
RGBrgb(76, 48, 186)
HSLhsl(252, 59%, 46%)
HSVhsv(252, 74%, 73%)
CMYKcmyk(59.1%, 74.2%, 0%, 27.1%)
CIE-LABlab(32.25, 48.98, -68.13)
CIE-LCHlch(32.25, 83.91, 305.71°)
OKLaboklab(43.75% 0.0473 -0.1963)
OKLCHoklch(43.75% 0.202 283.5)
XYZxyz(12.8976, 7.1947, 47.1539)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C30BA #9EBA30
analogous
#3059BA #4C30BA #9130BA
triadic
#4C30BA #BA4C30 #30BA4C
tetradic
#4C30BA #BA3059 #9EBA30 #30BA91
square
#4C30BA #BA3059 #9EBA30 #30BA91
split-complementary
#4C30BA #BA9130 #59BA30
monochromatic
#241759 #382389 #4C30BA #6E54D3 #9785DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C30BA#FFFFFF#000000##FFFFFF
##4C30BA1.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)
#0050BE
Deuteranopia (green-blind)
#0047B7
Tritanopia (blue-blind)
#025773
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4c30ba;
/* rgb */ color: rgb(76, 48, 186);
/* oklch */ color: oklch(43.8% 0.202 283.5);
Tailwind
colors: {
  custom: {
    50: '#8b6cd0',
    500: '#4c30ba',
    950: '#000000',
  },
}
SCSS
$custom: #4c30ba;
$custom-light: #8b6cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c30ba",
  "rgb": {
    "r": 76,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 252.174,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43753,
    "c": 0.20194,
    "h": 283.5
  },
  "luminance": 0.07196
}

Semantic roles & 50–950 ramp

primary
#4C30BA
secondary
#B9C97D
accent
#E246C2
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4C30BA

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

Preview Lab → · Contrast checker → · Palette generator →

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