#4A30BF#4A30BF

#4A30BF is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.1% C 0.208 H 282.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#4A30BF
RGBrgb(74, 48, 191)
HSLhsl(251, 60%, 47%)
HSVhsv(251, 75%, 75%)
CMYKcmyk(61.3%, 74.9%, 0%, 25.1%)
CIE-LABlab(32.55, 50.21, -70.59)
CIE-LCHlch(32.55, 86.63, 305.42°)
OKLaboklab(44.07% 0.0432 -0.2036)
OKLCHoklch(44.07% 0.208 282)
XYZxyz(13.2820, 7.3304, 49.9951)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A30BF #A5BF30
analogous
#305EBF #4A30BF #9230BF
triadic
#4A30BF #BF4A30 #30BF4A
tetradic
#4A30BF #BF305E #A5BF30 #30BF92
square
#4A30BF #BF305E #A5BF30 #30BF92
split-complementary
#4A30BF #BF9230 #5EBF30
monochromatic
#24175D #37248E #4A30BF #6E57D5 #9888E1

Accessibility & contrast

On white

8.52
#4A30BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4A30BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A30BF
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A30BF#FFFFFF#000000##FFFFFF
##4A30BF1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C3
Deuteranopia (green-blind)
#0047BC
Tritanopia (blue-blind)
#005975
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4a30bf;
/* rgb */ color: rgb(74, 48, 191);
/* oklch */ color: oklch(44.1% 0.208 282.0);
Tailwind
colors: {
  custom: {
    50: '#8b6cd4',
    500: '#4a30bf',
    950: '#000000',
  },
}
SCSS
$custom: #4a30bf;
$custom-light: #8b6cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a30bf",
  "rgb": {
    "r": 74,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 250.909,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44067,
    "c": 0.20811,
    "h": 282
  },
  "luminance": 0.07331
}

Semantic roles & 50–950 ramp

primary
#4A30BF
secondary
#BDCB80
accent
#E345C6
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4A30BF

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

Preview Lab → · Contrast checker → · Palette generator →

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