#4A30C4#4A30C4

#4A30C4 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.6% C 0.214 H 281.3°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#4A30C4
RGBrgb(74, 48, 196)
HSLhsl(251, 61%, 48%)
HSVhsv(251, 76%, 77%)
CMYKcmyk(62.2%, 75.5%, 0%, 23.1%)
CIE-LABlab(33.04, 51.69, -72.72)
CIE-LCHlch(33.04, 89.22, 305.41°)
OKLaboklab(44.56% 0.042 -0.2098)
OKLCHoklch(44.56% 0.214 281.3)
XYZxyz(13.8417, 7.5543, 52.9426)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A30C4 #AAC430
analogous
#3060C4 #4A30C4 #9430C4
triadic
#4A30C4 #C44A30 #30C44A
tetradic
#4A30C4 #C43060 #AAC430 #30C494
square
#4A30C4 #C43060 #AAC430 #30C494
split-complementary
#4A30C4 #C49430 #60C430
monochromatic
#251862 #372493 #4A30C4 #705AD7 #9B8CE3

Accessibility & contrast

On white

8.36
#4A30C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4A30C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A30C4
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A30C4#FFFFFF#000000##FFFFFF
##4A30C41.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C8
Deuteranopia (green-blind)
#0048C1
Tritanopia (blue-blind)
#005B78
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4a30c4;
/* rgb */ color: rgb(74, 48, 196);
/* oklch */ color: oklch(44.6% 0.214 281.3);
Tailwind
colors: {
  custom: {
    50: '#8b6cd7',
    500: '#4a30c4',
    950: '#000000',
  },
}
SCSS
$custom: #4a30c4;
$custom-light: #8b6cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a30c4",
  "rgb": {
    "r": 74,
    "g": 48,
    "b": 196
  },
  "hsl": {
    "h": 250.541,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44558,
    "c": 0.21396,
    "h": 281.3
  },
  "luminance": 0.07555
}

Semantic roles & 50–950 ramp

primary
#4A30C4
secondary
#C0CD83
accent
#E444C8
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4A30C4

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

Preview Lab → · Contrast checker → · Palette generator →

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