#4A30BC#4A30BC

#4A30BC is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 43.8% C 0.205 H 282.4°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#4A30BC
RGBrgb(74, 48, 188)
HSLhsl(251, 59%, 46%)
HSVhsv(251, 74%, 74%)
CMYKcmyk(60.6%, 74.5%, 0%, 26.3%)
CIE-LABlab(32.26, 49.31, -69.30)
CIE-LCHlch(32.26, 85.06, 305.44°)
OKLaboklab(43.78% 0.0439 -0.1998)
OKLCHoklch(43.78% 0.205 282.4)
XYZxyz(12.9553, 7.1997, 48.2742)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A30BC #A2BC30
analogous
#305CBC #4A30BC #9030BC
triadic
#4A30BC #BC4A30 #30BC4A
tetradic
#4A30BC #BC305C #A2BC30 #30BC90
square
#4A30BC #BC305C #A2BC30 #30BC90
split-complementary
#4A30BC #BC9030 #5CBC30
monochromatic
#24175A #37248B #4A30BC #6D55D4 #9786E0

Accessibility & contrast

On white

8.61
#4A30BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4A30BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A30BC
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A30BC#FFFFFF#000000##FFFFFF
##4A30BC1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C0
Deuteranopia (green-blind)
#0047B9
Tritanopia (blue-blind)
#005774
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4a30bc;
/* rgb */ color: rgb(74, 48, 188);
/* oklch */ color: oklch(43.8% 0.205 282.4);
Tailwind
colors: {
  custom: {
    50: '#8a6cd1',
    500: '#4a30bc',
    950: '#000000',
  },
}
SCSS
$custom: #4a30bc;
$custom-light: #8a6cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a30bc",
  "rgb": {
    "r": 74,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 251.143,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43775,
    "c": 0.20458,
    "h": 282.4
  },
  "luminance": 0.07201
}

Semantic roles & 50–950 ramp

primary
#4A30BC
secondary
#BCCA7E
accent
#E345C5
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4A30BC

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

Preview Lab → · Contrast checker → · Palette generator →

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