#4A30C0#4A30C0

#4A30C0 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.2% C 0.209 H 281.8°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#4A30C0
RGBrgb(74, 48, 192)
HSLhsl(251, 60%, 47%)
HSVhsv(251, 75%, 75%)
CMYKcmyk(61.5%, 75%, 0%, 24.7%)
CIE-LABlab(32.64, 50.51, -71.02)
CIE-LCHlch(32.64, 87.15, 305.42°)
OKLaboklab(44.17% 0.043 -0.2048)
OKLCHoklch(44.17% 0.209 281.8)
XYZxyz(13.3924, 7.3746, 50.5767)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A30C0 #A6C030
analogous
#305EC0 #4A30C0 #9230C0
triadic
#4A30C0 #C04A30 #30C04A
tetradic
#4A30C0 #C0305E #A6C030 #30C092
square
#4A30C0 #C0305E #A6C030 #30C092
split-complementary
#4A30C0 #C09230 #5EC030
monochromatic
#24185E #37248F #4A30C0 #6F58D5 #9989E1

Accessibility & contrast

On white

8.48
#4A30C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4A30C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A30C0
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A30C0#FFFFFF#000000##FFFFFF
##4A30C01.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C4
Deuteranopia (green-blind)
#0048BD
Tritanopia (blue-blind)
#005976
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4a30c0;
/* rgb */ color: rgb(74, 48, 192);
/* oklch */ color: oklch(44.2% 0.209 281.8);
Tailwind
colors: {
  custom: {
    50: '#8b6cd4',
    500: '#4a30c0',
    950: '#000000',
  },
}
SCSS
$custom: #4a30c0;
$custom-light: #8b6cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a30c0",
  "rgb": {
    "r": 74,
    "g": 48,
    "b": 192
  },
  "hsl": {
    "h": 250.833,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44165,
    "c": 0.20928,
    "h": 281.8
  },
  "luminance": 0.07376
}

Semantic roles & 50–950 ramp

primary
#4A30C0
secondary
#BECB80
accent
#E345C7
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4A30C0

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

Preview Lab → · Contrast checker → · Palette generator →

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