#4B30C2#4B30C2

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

Color values

HEX#4B30C2
RGBrgb(75, 48, 194)
HSLhsl(251, 60%, 47%)
HSVhsv(251, 75%, 76%)
CMYKcmyk(61.3%, 75.3%, 0%, 23.9%)
CIE-LABlab(32.93, 51.22, -71.73)
CIE-LCHlch(32.93, 88.14, 305.53°)
OKLaboklab(44.44% 0.0439 -0.2069)
OKLCHoklch(44.44% 0.211 282)
XYZxyz(13.6932, 7.5038, 51.7553)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B30C2 #A7C230
analogous
#305EC2 #4B30C2 #9430C2
triadic
#4B30C2 #C24B30 #30C24B
tetradic
#4B30C2 #C2305E #A7C230 #30C294
square
#4B30C2 #C2305E #A7C230 #30C294
split-complementary
#4B30C2 #C29430 #5EC230
monochromatic
#251860 #382491 #4B30C2 #7059D6 #9B8AE2

Accessibility & contrast

On white

8.40
#4B30C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4B30C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B30C2
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B30C2#FFFFFF#000000##FFFFFF
##4B30C21.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b30c2;
/* rgb */ color: rgb(75, 48, 194);
/* oklch */ color: oklch(44.4% 0.211 282.0);
Tailwind
colors: {
  custom: {
    50: '#8c6cd6',
    500: '#4b30c2',
    950: '#000000',
  },
}
SCSS
$custom: #4b30c2;
$custom-light: #8c6cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b30c2",
  "rgb": {
    "r": 75,
    "g": 48,
    "b": 194
  },
  "hsl": {
    "h": 251.096,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44444,
    "c": 0.21146,
    "h": 282
  },
  "luminance": 0.07505
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B30C2

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

Preview Lab → · Contrast checker → · Palette generator →

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