#4C30BF#4C30BF

#4C30BF is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.2% C 0.208 H 282.8°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#4C30BF
RGBrgb(76, 48, 191)
HSLhsl(252, 60%, 47%)
HSVhsv(252, 75%, 75%)
CMYKcmyk(60.2%, 74.9%, 0%, 25.1%)
CIE-LABlab(32.73, 50.46, -70.29)
CIE-LCHlch(32.73, 86.53, 305.67°)
OKLaboklab(44.24% 0.0461 -0.2026)
OKLCHoklch(44.24% 0.208 282.8)
XYZxyz(13.4385, 7.4111, 50.0024)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C30BF #A3BF30
analogous
#305CBF #4C30BF #9430BF
triadic
#4C30BF #BF4C30 #30BF4C
tetradic
#4C30BF #BF305C #A3BF30 #30BF94
square
#4C30BF #BF305C #A3BF30 #30BF94
split-complementary
#4C30BF #BF9430 #5CBF30
monochromatic
#25175D #39248E #4C30BF #7057D5 #9A88E1

Accessibility & contrast

On white

8.46
#4C30BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4C30BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C30BF
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C30BF#FFFFFF#000000##FFFFFF
##4C30BF1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C3
Deuteranopia (green-blind)
#0048BC
Tritanopia (blue-blind)
#005975
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c30bf;
/* rgb */ color: rgb(76, 48, 191);
/* oklch */ color: oklch(44.2% 0.208 282.8);
Tailwind
colors: {
  custom: {
    50: '#8c6cd4',
    500: '#4c30bf',
    950: '#000000',
  },
}
SCSS
$custom: #4c30bf;
$custom-light: #8c6cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c30bf",
  "rgb": {
    "r": 76,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 251.748,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44235,
    "c": 0.20782,
    "h": 282.8
  },
  "luminance": 0.07412
}

Semantic roles & 50–950 ramp

primary
#4C30BF
secondary
#BCCB80
accent
#E345C4
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4C30BF

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

Preview Lab → · Contrast checker → · Palette generator →

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