#4B30C3#4B30C3

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

Color values

HEX#4B30C3
RGBrgb(75, 48, 195)
HSLhsl(251, 60%, 48%)
HSVhsv(251, 75%, 76%)
CMYKcmyk(61.5%, 75.4%, 0%, 23.5%)
CIE-LABlab(33.03, 51.52, -72.15)
CIE-LCHlch(33.03, 88.66, 305.53°)
OKLaboklab(44.54% 0.0436 -0.2081)
OKLCHoklch(44.54% 0.213 281.8)
XYZxyz(13.8058, 7.5489, 52.3487)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B30C3 #A8C330
analogous
#305FC3 #4B30C3 #9430C3
triadic
#4B30C3 #C34B30 #30C34B
tetradic
#4B30C3 #C3305F #A8C330 #30C394
square
#4B30C3 #C3305F #A8C330 #30C394
split-complementary
#4B30C3 #C39430 #5FC330
monochromatic
#251861 #382492 #4B30C3 #715AD6 #9B8BE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B30C3#FFFFFF#000000##FFFFFF
##4B30C31.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)
#0053C7
Deuteranopia (green-blind)
#0048C0
Tritanopia (blue-blind)
#005A78
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4b30c3;
/* rgb */ color: rgb(75, 48, 195);
/* oklch */ color: oklch(44.5% 0.213 281.8);
Tailwind
colors: {
  custom: {
    50: '#8c6cd6',
    500: '#4b30c3',
    950: '#000000',
  },
}
SCSS
$custom: #4b30c3;
$custom-light: #8c6cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b30c3",
  "rgb": {
    "r": 75,
    "g": 48,
    "b": 195
  },
  "hsl": {
    "h": 251.02,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44542,
    "c": 0.21264,
    "h": 281.8
  },
  "luminance": 0.0755
}

Semantic roles & 50–950 ramp

primary
#4B30C3
secondary
#BFCC82
accent
#E444C6
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4B30C3

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

Preview Lab → · Contrast checker → · Palette generator →

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