#4A30BE#4A30BE

#4A30BE is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.0% C 0.207 H 282.1°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#4A30BE
RGBrgb(74, 48, 190)
HSLhsl(251, 60%, 47%)
HSVhsv(251, 75%, 75%)
CMYKcmyk(61.1%, 74.7%, 0%, 25.5%)
CIE-LABlab(32.45, 49.91, -70.16)
CIE-LCHlch(32.45, 86.10, 305.43°)
OKLaboklab(43.97% 0.0434 -0.2023)
OKLCHoklch(43.97% 0.207 282.1)
XYZxyz(13.1724, 7.2865, 49.4175)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A30BE #A4BE30
analogous
#305DBE #4A30BE #9130BE
triadic
#4A30BE #BE4A30 #30BE4A
tetradic
#4A30BE #BE305D #A4BE30 #30BE91
square
#4A30BE #BE305D #A4BE30 #30BE91
split-complementary
#4A30BE #BE9130 #5DBE30
monochromatic
#24175C #37248D #4A30BE #6E57D4 #9888E1

Accessibility & contrast

On white

8.55
#4A30BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4A30BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A30BE
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A30BE#FFFFFF#000000##FFFFFF
##4A30BE1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C2
Deuteranopia (green-blind)
#0047BB
Tritanopia (blue-blind)
#005875
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4a30be;
/* rgb */ color: rgb(74, 48, 190);
/* oklch */ color: oklch(44.0% 0.207 282.1);
Tailwind
colors: {
  custom: {
    50: '#8a6cd3',
    500: '#4a30be',
    950: '#000000',
  },
}
SCSS
$custom: #4a30be;
$custom-light: #8a6cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a30be",
  "rgb": {
    "r": 74,
    "g": 48,
    "b": 190
  },
  "hsl": {
    "h": 250.986,
    "s": 59.664,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43969,
    "c": 0.20693,
    "h": 282.1
  },
  "luminance": 0.07287
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A30BE

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

Preview Lab → · Contrast checker → · Palette generator →

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