#4B30B7#4B30B7

#4B30B7 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.199 H 283.6°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#4B30B7
RGBrgb(75, 48, 183)
HSLhsl(252, 58%, 45%)
HSVhsv(252, 74%, 72%)
CMYKcmyk(59%, 73.8%, 0%, 28.2%)
CIE-LABlab(31.87, 47.95, -66.98)
CIE-LCHlch(31.87, 82.37, 305.60°)
OKLaboklab(43.38% 0.0465 -0.193)
OKLCHoklch(43.38% 0.199 283.6)
XYZxyz(12.5032, 7.0278, 45.4882)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B30B7 #9CB730
analogous
#3058B7 #4B30B7 #8E30B7
triadic
#4B30B7 #B74B30 #30B74B
tetradic
#4B30B7 #B73058 #9CB730 #30B78E
square
#4B30B7 #B73058 #9CB730 #30B78E
split-complementary
#4B30B7 #B78E30 #58B730
monochromatic
#231756 #372387 #4B30B7 #6C52D2 #9583DE

Accessibility & contrast

On white

8.73
#4B30B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4B30B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B30B7
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B30B7#FFFFFF#000000##FFFFFF
##4B30B71.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBB
Deuteranopia (green-blind)
#0046B4
Tritanopia (blue-blind)
#055571
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4b30b7;
/* rgb */ color: rgb(75, 48, 183);
/* oklch */ color: oklch(43.4% 0.199 283.6);
Tailwind
colors: {
  custom: {
    50: '#8a6bce',
    500: '#4b30b7',
    950: '#000000',
  },
}
SCSS
$custom: #4b30b7;
$custom-light: #8a6bce;
$custom-dark: #000000;
JSON
{
  "hex": "#4b30b7",
  "rgb": {
    "r": 75,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 252,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43379,
    "c": 0.19851,
    "h": 283.6
  },
  "luminance": 0.07029
}

Semantic roles & 50–950 ramp

primary
#4B30B7
secondary
#B8C87B
accent
#E246C3
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4B30B7

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

Preview Lab → · Contrast checker → · Palette generator →

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