#4B30A2#4B30A2

#4B30A2 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.4% C 0.173 H 287.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#4B30A2
RGBrgb(75, 48, 162)
HSLhsl(254, 54%, 41%)
HSVhsv(254, 70%, 64%)
CMYKcmyk(53.7%, 70.4%, 0%, 36.5%)
CIE-LABlab(29.96, 41.66, -57.54)
CIE-LCHlch(29.96, 71.04, 305.91°)
OKLaboklab(41.43% 0.0509 -0.1653)
OKLCHoklch(41.43% 0.173 287.1)
XYZxyz(10.4783, 6.2179, 34.8235)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B30A2 #87A230
analogous
#304EA2 #4B30A2 #8430A2
triadic
#4B30A2 #A24B30 #30A24B
tetradic
#4B30A2 #A2304E #87A230 #30A284
square
#4B30A2 #A2304E #87A230 #30A284
split-complementary
#4B30A2 #A28430 #4EA230
monochromatic
#1F1444 #352273 #4B30A2 #6547C8 #8D76D6

Accessibility & contrast

On white

9.36
#4B30A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4B30A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B30A2
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B30A2#FFFFFF#000000##FFFFFF
##4B30A21.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#284E65
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4b30a2;
/* rgb */ color: rgb(75, 48, 162);
/* oklch */ color: oklch(41.4% 0.173 287.1);
Tailwind
colors: {
  custom: {
    50: '#866bbe',
    500: '#4b30a2',
    950: '#000000',
  },
}
SCSS
$custom: #4b30a2;
$custom-light: #866bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4b30a2",
  "rgb": {
    "r": 75,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 254.211,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41433,
    "c": 0.17299,
    "h": 287.1
  },
  "luminance": 0.06218
}

Semantic roles & 50–950 ramp

primary
#4B30A2
secondary
#ACBE6F
accent
#DE4ABB
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4B30A2

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

Preview Lab → · Contrast checker → · Palette generator →

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