#4C30B3#4C30B3

#4C30B3 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.1% C 0.194 H 284.6°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#4C30B3
RGBrgb(76, 48, 179)
HSLhsl(253, 58%, 45%)
HSVhsv(253, 73%, 70%)
CMYKcmyk(57.5%, 73.2%, 0%, 29.8%)
CIE-LABlab(31.59, 46.90, -65.06)
CIE-LCHlch(31.59, 80.20, 305.79°)
OKLaboklab(43.09% 0.0489 -0.1873)
OKLCHoklch(43.09% 0.194 284.6)
XYZxyz(12.1716, 6.9043, 43.3304)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C30B3 #97B330
analogous
#3056B3 #4C30B3 #8D30B3
triadic
#4C30B3 #B34C30 #30B34C
tetradic
#4C30B3 #B33056 #97B330 #30B38D
square
#4C30B3 #B33056 #97B330 #30B38D
split-complementary
#4C30B3 #B38D30 #56B330
monochromatic
#231652 #382383 #4C30B3 #6B50D0 #9480DD

Accessibility & contrast

On white

8.82
#4C30B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4C30B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C30B3
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C30B3#FFFFFF#000000##FFFFFF
##4C30B31.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0046B1
Tritanopia (blue-blind)
#16546F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4c30b3;
/* rgb */ color: rgb(76, 48, 179);
/* oklch */ color: oklch(43.1% 0.194 284.6);
Tailwind
colors: {
  custom: {
    50: '#896bcb',
    500: '#4c30b3',
    950: '#000000',
  },
}
SCSS
$custom: #4c30b3;
$custom-light: #896bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c30b3",
  "rgb": {
    "r": 76,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 252.824,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43088,
    "c": 0.19361,
    "h": 284.6
  },
  "luminance": 0.06905
}

Semantic roles & 50–950 ramp

primary
#4C30B3
secondary
#B6C679
accent
#E147C0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4C30B3

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

Preview Lab → · Contrast checker → · Palette generator →

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