#4A30C5#4A30C5

#4A30C5 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.7% C 0.215 H 281.2°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#4A30C5
RGBrgb(74, 48, 197)
HSLhsl(250, 61%, 48%)
HSVhsv(250, 76%, 77%)
CMYKcmyk(62.4%, 75.6%, 0%, 22.7%)
CIE-LABlab(33.14, 51.99, -73.15)
CIE-LCHlch(33.14, 89.74, 305.40°)
OKLaboklab(44.66% 0.0417 -0.211)
OKLCHoklch(44.66% 0.215 281.2)
XYZxyz(13.9559, 7.5999, 53.5440)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A30C5 #ABC530
analogous
#3060C5 #4A30C5 #9430C5
triadic
#4A30C5 #C54A30 #30C54A
tetradic
#4A30C5 #C53060 #ABC530 #30C594
square
#4A30C5 #C53060 #ABC530 #30C594
split-complementary
#4A30C5 #C59430 #60C530
monochromatic
#251863 #382494 #4A30C5 #715BD7 #9B8CE3

Accessibility & contrast

On white

8.33
#4A30C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4A30C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A30C5
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A30C5#FFFFFF#000000##FFFFFF
##4A30C51.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C9
Deuteranopia (green-blind)
#0048C2
Tritanopia (blue-blind)
#005B79
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4a30c5;
/* rgb */ color: rgb(74, 48, 197);
/* oklch */ color: oklch(44.7% 0.215 281.2);
Tailwind
colors: {
  custom: {
    50: '#8c6cd8',
    500: '#4a30c5',
    950: '#000000',
  },
}
SCSS
$custom: #4a30c5;
$custom-light: #8c6cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a30c5",
  "rgb": {
    "r": 74,
    "g": 48,
    "b": 197
  },
  "hsl": {
    "h": 250.47,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44657,
    "c": 0.21512,
    "h": 281.2
  },
  "luminance": 0.07601
}

Semantic roles & 50–950 ramp

primary
#4A30C5
secondary
#C0CD84
accent
#E444C8
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4A30C5

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

Preview Lab → · Contrast checker → · Palette generator →

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