#4C30C2#4C30C2

#4C30C2 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.5% C 0.211 H 282.4°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#4C30C2
RGBrgb(76, 48, 194)
HSLhsl(252, 60%, 47%)
HSVhsv(252, 75%, 76%)
CMYKcmyk(60.8%, 75.3%, 0%, 23.9%)
CIE-LABlab(33.02, 51.34, -71.58)
CIE-LCHlch(33.02, 88.09, 305.65°)
OKLaboklab(44.53% 0.0453 -0.2064)
OKLCHoklch(44.53% 0.211 282.4)
XYZxyz(13.7720, 7.5445, 51.7590)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C30C2 #A6C230
analogous
#305DC2 #4C30C2 #9530C2
triadic
#4C30C2 #C24C30 #30C24C
tetradic
#4C30C2 #C2305D #A6C230 #30C295
square
#4C30C2 #C2305D #A6C230 #30C295
split-complementary
#4C30C2 #C29530 #5DC230
monochromatic
#261860 #392491 #4C30C2 #7159D6 #9B8AE2

Accessibility & contrast

On white

8.37
#4C30C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4C30C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C30C2
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C30C2#FFFFFF#000000##FFFFFF
##4C30C21.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C6
Deuteranopia (green-blind)
#0048BF
Tritanopia (blue-blind)
#005A77
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4c30c2;
/* rgb */ color: rgb(76, 48, 194);
/* oklch */ color: oklch(44.5% 0.211 282.4);
Tailwind
colors: {
  custom: {
    50: '#8c6cd6',
    500: '#4c30c2',
    950: '#000000',
  },
}
SCSS
$custom: #4c30c2;
$custom-light: #8c6cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c30c2",
  "rgb": {
    "r": 76,
    "g": 48,
    "b": 194
  },
  "hsl": {
    "h": 251.507,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44527,
    "c": 0.21132,
    "h": 282.4
  },
  "luminance": 0.07545
}

Semantic roles & 50–950 ramp

primary
#4C30C2
secondary
#BECC82
accent
#E344C5
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4C30C2

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

Preview Lab → · Contrast checker → · Palette generator →

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