#4A30BB#4A30BB

#4A30BB is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 43.7% C 0.203 H 282.5°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#4A30BB
RGBrgb(74, 48, 187)
HSLhsl(251, 59%, 46%)
HSVhsv(251, 74%, 73%)
CMYKcmyk(60.4%, 74.3%, 0%, 26.7%)
CIE-LABlab(32.16, 49.02, -68.87)
CIE-LCHlch(32.16, 84.53, 305.44°)
OKLaboklab(43.68% 0.0442 -0.1985)
OKLCHoklch(43.68% 0.203 282.5)
XYZxyz(12.8478, 7.1567, 47.7084)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A30BB #A1BB30
analogous
#305BBB #4A30BB #8F30BB
triadic
#4A30BB #BB4A30 #30BB4A
tetradic
#4A30BB #BB305B #A1BB30 #30BB8F
square
#4A30BB #BB305B #A1BB30 #30BB8F
split-complementary
#4A30BB #BB8F30 #5BBB30
monochromatic
#23175A #37238A #4A30BB #6D55D3 #9686E0

Accessibility & contrast

On white

8.64
#4A30BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4A30BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A30BB
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A30BB#FFFFFF#000000##FFFFFF
##4A30BB1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BF
Deuteranopia (green-blind)
#0047B8
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4a30bb;
/* rgb */ color: rgb(74, 48, 187);
/* oklch */ color: oklch(43.7% 0.203 282.5);
Tailwind
colors: {
  custom: {
    50: '#8a6cd1',
    500: '#4a30bb',
    950: '#000000',
  },
}
SCSS
$custom: #4a30bb;
$custom-light: #8a6cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a30bb",
  "rgb": {
    "r": 74,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 251.223,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43678,
    "c": 0.20339,
    "h": 282.5
  },
  "luminance": 0.07158
}

Semantic roles & 50–950 ramp

primary
#4A30BB
secondary
#BBC97D
accent
#E245C5
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4A30BB

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

Preview Lab → · Contrast checker → · Palette generator →

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