#4B30AA#4B30AA

#4B30AA is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.2% C 0.183 H 285.7°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#4B30AA
RGBrgb(75, 48, 170)
HSLhsl(253, 56%, 43%)
HSVhsv(253, 72%, 67%)
CMYKcmyk(55.9%, 71.8%, 0%, 33.3%)
CIE-LABlab(30.67, 44.06, -61.20)
CIE-LCHlch(30.67, 75.41, 305.76°)
OKLaboklab(42.16% 0.0494 -0.1761)
OKLCHoklch(42.16% 0.183 285.7)
XYZxyz(11.2121, 6.5114, 38.6884)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B30AA #8FAA30
analogous
#3052AA #4B30AA #8830AA
triadic
#4B30AA #AA4B30 #30AA4B
tetradic
#4B30AA #AA3052 #8FAA30 #30AA88
square
#4B30AA #AA3052 #8FAA30 #30AA88
split-complementary
#4B30AA #AA8830 #52AA30
monochromatic
#21154B #36237A #4B30AA #684BCC #907BDA

Accessibility & contrast

On white

9.12
#4B30AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4B30AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B30AA
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B30AA#FFFFFF#000000##FFFFFF
##4B30AA1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#0044A8
Tritanopia (blue-blind)
#20516A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4b30aa;
/* rgb */ color: rgb(75, 48, 170);
/* oklch */ color: oklch(42.2% 0.183 285.7);
Tailwind
colors: {
  custom: {
    50: '#876bc4',
    500: '#4b30aa',
    950: '#000000',
  },
}
SCSS
$custom: #4b30aa;
$custom-light: #876bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b30aa",
  "rgb": {
    "r": 75,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 253.279,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4216,
    "c": 0.18284,
    "h": 285.7
  },
  "luminance": 0.06512
}

Semantic roles & 50–950 ramp

primary
#4B30AA
secondary
#B1C274
accent
#DF49BE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4B30AA

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

Preview Lab → · Contrast checker → · Palette generator →

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