#4C30BE#4C30BE

#4C30BE is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.1% C 0.207 H 282.9°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#4C30BE
RGBrgb(76, 48, 190)
HSLhsl(252, 60%, 47%)
HSVhsv(252, 75%, 75%)
CMYKcmyk(60%, 74.7%, 0%, 25.5%)
CIE-LABlab(32.63, 50.16, -69.86)
CIE-LCHlch(32.63, 86.01, 305.68°)
OKLaboklab(44.14% 0.0463 -0.2014)
OKLCHoklch(44.14% 0.207 282.9)
XYZxyz(13.3288, 7.3672, 49.4249)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C30BE #A2BE30
analogous
#305BBE #4C30BE #9330BE
triadic
#4C30BE #BE4C30 #30BE4C
tetradic
#4C30BE #BE305B #A2BE30 #30BE93
square
#4C30BE #BE305B #A2BE30 #30BE93
split-complementary
#4C30BE #BE9330 #5BBE30
monochromatic
#25175C #38248D #4C30BE #7057D4 #9988E1

Accessibility & contrast

On white

8.49
#4C30BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C30BE
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C30BE#FFFFFF#000000##FFFFFF
##4C30BE1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C2
Deuteranopia (green-blind)
#0048BB
Tritanopia (blue-blind)
#005875
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c30be;
/* rgb */ color: rgb(76, 48, 190);
/* oklch */ color: oklch(44.1% 0.207 282.9);
Tailwind
colors: {
  custom: {
    50: '#8b6cd3',
    500: '#4c30be',
    950: '#000000',
  },
}
SCSS
$custom: #4c30be;
$custom-light: #8b6cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c30be",
  "rgb": {
    "r": 76,
    "g": 48,
    "b": 190
  },
  "hsl": {
    "h": 251.831,
    "s": 59.664,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44138,
    "c": 0.20664,
    "h": 282.9
  },
  "luminance": 0.07368
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C30BE

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

Preview Lab → · Contrast checker → · Palette generator →

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