#4A30B8#4A30B8

#4A30B8 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.200 H 283.0°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#4A30B8
RGBrgb(74, 48, 184)
HSLhsl(251, 59%, 45%)
HSVhsv(251, 74%, 72%)
CMYKcmyk(59.8%, 73.9%, 0%, 27.8%)
CIE-LABlab(31.87, 48.12, -67.57)
CIE-LCHlch(31.87, 82.95, 305.46°)
OKLaboklab(43.39% 0.0449 -0.1947)
OKLCHoklch(43.39% 0.2 283)
XYZxyz(12.5300, 7.0296, 46.0347)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A30B8 #9EB830
analogous
#305AB8 #4A30B8 #8E30B8
triadic
#4A30B8 #B84A30 #30B84A
tetradic
#4A30B8 #B8305A #9EB830 #30B88E
square
#4A30B8 #B8305A #9EB830 #30B88E
split-complementary
#4A30B8 #B88E30 #5AB830
monochromatic
#231757 #362387 #4A30B8 #6B53D2 #9584DF

Accessibility & contrast

On white

8.73
#4A30B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A30B8
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A30B8#FFFFFF#000000##FFFFFF
##4A30B81.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a30b8;
/* rgb */ color: rgb(74, 48, 184);
/* oklch */ color: oklch(43.4% 0.200 283.0);
Tailwind
colors: {
  custom: {
    50: '#896bce',
    500: '#4a30b8',
    950: '#000000',
  },
}
SCSS
$custom: #4a30b8;
$custom-light: #896bce;
$custom-dark: #000000;
JSON
{
  "hex": "#4a30b8",
  "rgb": {
    "r": 74,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 251.471,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43389,
    "c": 0.19984,
    "h": 283
  },
  "luminance": 0.0703
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A30B8

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

Preview Lab → · Contrast checker → · Palette generator →

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