#4C30C3#4C30C3

#4C30C3 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.6% C 0.212 H 282.2°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#4C30C3
RGBrgb(76, 48, 195)
HSLhsl(251, 60%, 48%)
HSVhsv(251, 75%, 76%)
CMYKcmyk(61%, 75.4%, 0%, 23.5%)
CIE-LABlab(33.11, 51.64, -72.01)
CIE-LCHlch(33.11, 88.61, 305.65°)
OKLaboklab(44.63% 0.0451 -0.2076)
OKLCHoklch(44.63% 0.212 282.2)
XYZxyz(13.8847, 7.5896, 52.3524)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C30C3 #A7C330
analogous
#305DC3 #4C30C3 #9630C3
triadic
#4C30C3 #C34C30 #30C34C
tetradic
#4C30C3 #C3305D #A7C330 #30C396
square
#4C30C3 #C3305D #A7C330 #30C396
split-complementary
#4C30C3 #C39630 #5DC330
monochromatic
#261861 #392492 #4C30C3 #725AD6 #9C8BE2

Accessibility & contrast

On white

8.34
#4C30C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4C30C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C30C3
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C30C3#FFFFFF#000000##FFFFFF
##4C30C31.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C7
Deuteranopia (green-blind)
#0049C0
Tritanopia (blue-blind)
#005A78
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4c30c3;
/* rgb */ color: rgb(76, 48, 195);
/* oklch */ color: oklch(44.6% 0.212 282.2);
Tailwind
colors: {
  custom: {
    50: '#8c6cd6',
    500: '#4c30c3',
    950: '#000000',
  },
}
SCSS
$custom: #4c30c3;
$custom-light: #8c6cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c30c3",
  "rgb": {
    "r": 76,
    "g": 48,
    "b": 195
  },
  "hsl": {
    "h": 251.429,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44625,
    "c": 0.21248,
    "h": 282.2
  },
  "luminance": 0.07591
}

Semantic roles & 50–950 ramp

primary
#4C30C3
secondary
#BECC82
accent
#E444C5
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4C30C3

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

Preview Lab → · Contrast checker → · Palette generator →

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