#4C30B2#4C30B2

#4C30B2 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.0% C 0.192 H 284.8°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#4C30B2
RGBrgb(76, 48, 178)
HSLhsl(253, 58%, 44%)
HSVhsv(253, 73%, 70%)
CMYKcmyk(57.3%, 73%, 0%, 30.2%)
CIE-LABlab(31.50, 46.60, -64.62)
CIE-LCHlch(31.50, 79.67, 305.80°)
OKLaboklab(42.99% 0.0491 -0.186)
OKLCHoklch(42.99% 0.192 284.8)
XYZxyz(12.0709, 6.8640, 42.7997)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C30B2 #96B230
analogous
#3055B2 #4C30B2 #8D30B2
triadic
#4C30B2 #B24C30 #30B24C
tetradic
#4C30B2 #B23055 #96B230 #30B28D
square
#4C30B2 #B23055 #96B230 #30B28D
split-complementary
#4C30B2 #B28D30 #55B230
monochromatic
#231652 #372382 #4C30B2 #6B50D0 #9480DD

Accessibility & contrast

On white

8.85
#4C30B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4C30B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C30B2
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C30B2#FFFFFF#000000##FFFFFF
##4C30B21.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0046B0
Tritanopia (blue-blind)
#18536E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4c30b2;
/* rgb */ color: rgb(76, 48, 178);
/* oklch */ color: oklch(43.0% 0.192 284.8);
Tailwind
colors: {
  custom: {
    50: '#896bca',
    500: '#4c30b2',
    950: '#000000',
  },
}
SCSS
$custom: #4c30b2;
$custom-light: #896bca;
$custom-dark: #000000;
JSON
{
  "hex": "#4c30b2",
  "rgb": {
    "r": 76,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 252.923,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42994,
    "c": 0.19242,
    "h": 284.8
  },
  "luminance": 0.06865
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C30B2

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

Preview Lab → · Contrast checker → · Palette generator →

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