#4C30BD#4C30BD

#4C30BD is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.0% C 0.205 H 283.1°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#4C30BD
RGBrgb(76, 48, 189)
HSLhsl(252, 59%, 46%)
HSVhsv(252, 75%, 74%)
CMYKcmyk(59.8%, 74.6%, 0%, 25.9%)
CIE-LABlab(32.53, 49.87, -69.43)
CIE-LCHlch(32.53, 85.48, 305.69°)
OKLaboklab(44.04% 0.0466 -0.2001)
OKLCHoklch(44.04% 0.205 283.1)
XYZxyz(13.2199, 7.3236, 48.8512)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C30BD #A1BD30
analogous
#305BBD #4C30BD #9330BD
triadic
#4C30BD #BD4C30 #30BD4C
tetradic
#4C30BD #BD305B #A1BD30 #30BD93
square
#4C30BD #BD305B #A1BD30 #30BD93
split-complementary
#4C30BD #BD9330 #5BBD30
monochromatic
#25175B #38248C #4C30BD #6F56D4 #9987E0

Accessibility & contrast

On white

8.52
#4C30BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4C30BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C30BD
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C30BD#FFFFFF#000000##FFFFFF
##4C30BD1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#0048BA
Tritanopia (blue-blind)
#005874
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c30bd;
/* rgb */ color: rgb(76, 48, 189);
/* oklch */ color: oklch(44.0% 0.205 283.1);
Tailwind
colors: {
  custom: {
    50: '#8b6cd2',
    500: '#4c30bd',
    950: '#000000',
  },
}
SCSS
$custom: #4c30bd;
$custom-light: #8b6cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c30bd",
  "rgb": {
    "r": 76,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 251.915,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44042,
    "c": 0.20547,
    "h": 283.1
  },
  "luminance": 0.07325
}

Semantic roles & 50–950 ramp

primary
#4C30BD
secondary
#BBCA7F
accent
#E345C3
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4C30BD

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

Preview Lab → · Contrast checker → · Palette generator →

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