#4A34C1#4A34C1

#4A34C1 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.8% C 0.206 H 281.2°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#4A34C1
RGBrgb(74, 52, 193)
HSLhsl(249, 58%, 48%)
HSVhsv(249, 73%, 76%)
CMYKcmyk(61.7%, 73.1%, 0%, 24.3%)
CIE-LABlab(33.48, 48.72, -70.23)
CIE-LCHlch(33.48, 85.48, 304.75°)
OKLaboklab(44.78% 0.04 -0.2026)
OKLCHoklch(44.78% 0.206 281.2)
XYZxyz(13.6746, 7.7611, 51.2192)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A34C1 #ABC134
analogous
#3464C1 #4A34C1 #9134C1
triadic
#4A34C1 #C14A34 #34C14A
tetradic
#4A34C1 #C13464 #ABC134 #34C191
square
#4A34C1 #C13464 #ABC134 #34C191
split-complementary
#4A34C1 #C19134 #64C134
monochromatic
#251A61 #382791 #4A34C1 #715ED4 #9B8FE1

Accessibility & contrast

On white

8.23
#4A34C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4A34C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A34C1
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A34C1#FFFFFF#000000##FFFFFF
##4A34C11.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C5
Deuteranopia (green-blind)
#004ABE
Tritanopia (blue-blind)
#005B77
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4a34c1;
/* rgb */ color: rgb(74, 52, 193);
/* oklch */ color: oklch(44.8% 0.206 281.2);
Tailwind
colors: {
  custom: {
    50: '#8b6ed5',
    500: '#4a34c1',
    950: '#000000',
  },
}
SCSS
$custom: #4a34c1;
$custom-light: #8b6ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a34c1",
  "rgb": {
    "r": 74,
    "g": 52,
    "b": 193
  },
  "hsl": {
    "h": 249.362,
    "s": 57.551,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44783,
    "c": 0.20648,
    "h": 281.2
  },
  "luminance": 0.07762
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A34C1

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

Preview Lab → · Contrast checker → · Palette generator →

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