#4A34C3#4A34C3

#4A34C3 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 45.0% C 0.209 H 280.9°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#4A34C3
RGBrgb(74, 52, 195)
HSLhsl(249, 58%, 48%)
HSVhsv(249, 73%, 76%)
CMYKcmyk(62.1%, 73.3%, 0%, 23.5%)
CIE-LABlab(33.67, 49.33, -71.09)
CIE-LCHlch(33.67, 86.53, 304.75°)
OKLaboklab(44.98% 0.0396 -0.2051)
OKLCHoklch(44.98% 0.209 280.9)
XYZxyz(13.8993, 7.8509, 52.4021)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A34C3 #ADC334
analogous
#3465C3 #4A34C3 #9134C3
triadic
#4A34C3 #C34A34 #34C34A
tetradic
#4A34C3 #C33465 #ADC334 #34C391
square
#4A34C3 #C33465 #ADC334 #34C391
split-complementary
#4A34C3 #C39134 #65C334
monochromatic
#251A62 #382793 #4A34C3 #7260D5 #9D90E1

Accessibility & contrast

On white

8.17
#4A34C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4A34C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A34C3
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A34C3#FFFFFF#000000##FFFFFF
##4A34C31.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C7
Deuteranopia (green-blind)
#004AC0
Tritanopia (blue-blind)
#005C79
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4a34c3;
/* rgb */ color: rgb(74, 52, 195);
/* oklch */ color: oklch(45.0% 0.209 280.9);
Tailwind
colors: {
  custom: {
    50: '#8b6ed6',
    500: '#4a34c3',
    950: '#000000',
  },
}
SCSS
$custom: #4a34c3;
$custom-light: #8b6ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a34c3",
  "rgb": {
    "r": 74,
    "g": 52,
    "b": 195
  },
  "hsl": {
    "h": 249.231,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44976,
    "c": 0.20886,
    "h": 280.9
  },
  "luminance": 0.07852
}

Semantic roles & 50–950 ramp

primary
#4A34C3
secondary
#C1CC87
accent
#E147C9
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4A34C3

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

Preview Lab → · Contrast checker → · Palette generator →

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