#4B30B3#4B30B3

#4B30B3 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.0% C 0.194 H 284.2°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#4B30B3
RGBrgb(75, 48, 179)
HSLhsl(252, 58%, 45%)
HSVhsv(252, 73%, 70%)
CMYKcmyk(58.1%, 73.2%, 0%, 29.8%)
CIE-LABlab(31.49, 46.76, -65.22)
CIE-LCHlch(31.49, 80.25, 305.64°)
OKLaboklab(43% 0.0474 -0.1878)
OKLCHoklch(43% 0.194 284.2)
XYZxyz(12.0928, 6.8637, 43.3267)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B30B3 #98B330
analogous
#3057B3 #4B30B3 #8C30B3
triadic
#4B30B3 #B34B30 #30B34B
tetradic
#4B30B3 #B33057 #98B330 #30B38C
square
#4B30B3 #B33057 #98B330 #30B38C
split-complementary
#4B30B3 #B38C30 #57B330
monochromatic
#231652 #372383 #4B30B3 #6A50D0 #9380DD

Accessibility & contrast

On white

8.85
#4B30B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4B30B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B30B3
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B30B3#FFFFFF#000000##FFFFFF
##4B30B31.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0046B1
Tritanopia (blue-blind)
#11546F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4b30b3;
/* rgb */ color: rgb(75, 48, 179);
/* oklch */ color: oklch(43.0% 0.194 284.2);
Tailwind
colors: {
  custom: {
    50: '#896bcb',
    500: '#4b30b3',
    950: '#000000',
  },
}
SCSS
$custom: #4b30b3;
$custom-light: #896bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b30b3",
  "rgb": {
    "r": 75,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 252.366,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42999,
    "c": 0.19373,
    "h": 284.2
  },
  "luminance": 0.06864
}

Semantic roles & 50–950 ramp

primary
#4B30B3
secondary
#B6C679
accent
#E147C1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4B30B3

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

Preview Lab → · Contrast checker → · Palette generator →

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