#4B30C0#4B30C0

#4B30C0 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.2% C 0.209 H 282.3°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#4B30C0
RGBrgb(75, 48, 192)
HSLhsl(251, 60%, 47%)
HSVhsv(251, 75%, 75%)
CMYKcmyk(60.9%, 75%, 0%, 24.7%)
CIE-LABlab(32.73, 50.63, -70.87)
CIE-LCHlch(32.73, 87.10, 305.54°)
OKLaboklab(44.25% 0.0444 -0.2044)
OKLCHoklch(44.25% 0.209 282.3)
XYZxyz(13.4701, 7.4146, 50.5803)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B30C0 #A5C030
analogous
#305DC0 #4B30C0 #9330C0
triadic
#4B30C0 #C04B30 #30C04B
tetradic
#4B30C0 #C0305D #A5C030 #30C093
square
#4B30C0 #C0305D #A5C030 #30C093
split-complementary
#4B30C0 #C09330 #5DC030
monochromatic
#25185E #38248F #4B30C0 #6F58D5 #9A89E1

Accessibility & contrast

On white

8.46
#4B30C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4B30C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B30C0
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B30C0#FFFFFF#000000##FFFFFF
##4B30C01.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C4
Deuteranopia (green-blind)
#0048BD
Tritanopia (blue-blind)
#005976
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4b30c0;
/* rgb */ color: rgb(75, 48, 192);
/* oklch */ color: oklch(44.2% 0.209 282.3);
Tailwind
colors: {
  custom: {
    50: '#8b6cd4',
    500: '#4b30c0',
    950: '#000000',
  },
}
SCSS
$custom: #4b30c0;
$custom-light: #8b6cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b30c0",
  "rgb": {
    "r": 75,
    "g": 48,
    "b": 192
  },
  "hsl": {
    "h": 251.25,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44248,
    "c": 0.20913,
    "h": 282.3
  },
  "luminance": 0.07416
}

Semantic roles & 50–950 ramp

primary
#4B30C0
secondary
#BDCB80
accent
#E345C5
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4B30C0

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

Preview Lab → · Contrast checker → · Palette generator →

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