#4B30B8#4B30B8

#4B30B8 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.5% C 0.200 H 283.4°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#4B30B8
RGBrgb(75, 48, 184)
HSLhsl(252, 59%, 45%)
HSVhsv(252, 74%, 72%)
CMYKcmyk(59.2%, 73.9%, 0%, 27.8%)
CIE-LABlab(31.96, 48.25, -67.41)
CIE-LCHlch(31.96, 82.90, 305.59°)
OKLaboklab(43.48% 0.0463 -0.1943)
OKLCHoklch(43.48% 0.2 283.4)
XYZxyz(12.6077, 7.0696, 46.0383)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B30B8 #9DB830
analogous
#3059B8 #4B30B8 #8F30B8
triadic
#4B30B8 #B84B30 #30B84B
tetradic
#4B30B8 #B83059 #9DB830 #30B88F
square
#4B30B8 #B83059 #9DB830 #30B88F
split-complementary
#4B30B8 #B88F30 #59B830
monochromatic
#231757 #372387 #4B30B8 #6C53D2 #9684DF

Accessibility & contrast

On white

8.70
#4B30B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B30B8
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B30B8#FFFFFF#000000##FFFFFF
##4B30B81.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBC
Deuteranopia (green-blind)
#0047B5
Tritanopia (blue-blind)
#015671
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4b30b8;
/* rgb */ color: rgb(75, 48, 184);
/* oklch */ color: oklch(43.5% 0.200 283.4);
Tailwind
colors: {
  custom: {
    50: '#8a6bce',
    500: '#4b30b8',
    950: '#000000',
  },
}
SCSS
$custom: #4b30b8;
$custom-light: #8a6bce;
$custom-dark: #000000;
JSON
{
  "hex": "#4b30b8",
  "rgb": {
    "r": 75,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 251.912,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43475,
    "c": 0.1997,
    "h": 283.4
  },
  "luminance": 0.0707
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B30B8

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

Preview Lab → · Contrast checker → · Palette generator →

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