#4A34AF#4A34AF

#4A34AF is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.1% C 0.185 H 283.7°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#4A34AF
RGBrgb(74, 52, 175)
HSLhsl(251, 54%, 45%)
HSVhsv(251, 70%, 69%)
CMYKcmyk(57.7%, 70.3%, 0%, 31.4%)
CIE-LABlab(31.82, 43.22, -62.30)
CIE-LCHlch(31.82, 75.82, 304.75°)
OKLaboklab(43.1% 0.0436 -0.1793)
OKLCHoklch(43.1% 0.185 283.7)
XYZxyz(11.7875, 7.0062, 41.2803)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A34AF #99AF34
analogous
#345BAF #4A34AF #8834AF
triadic
#4A34AF #AF4A34 #34AF4A
tetradic
#4A34AF #AF345B #99AF34 #34AF88
square
#4A34AF #AF345B #99AF34 #34AF88
split-complementary
#4A34AF #AF8834 #5BAF34
monochromatic
#221851 #362680 #4A34AF #6A54CC #9383DA

Accessibility & contrast

On white

8.74
#4A34AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4A34AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A34AF
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A34AF#FFFFFF#000000##FFFFFF
##4A34AF1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0047AD
Tritanopia (blue-blind)
#13556D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4a34af;
/* rgb */ color: rgb(74, 52, 175);
/* oklch */ color: oklch(43.1% 0.185 283.7);
Tailwind
colors: {
  custom: {
    50: '#876dc8',
    500: '#4a34af',
    950: '#000000',
  },
}
SCSS
$custom: #4a34af;
$custom-light: #876dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a34af",
  "rgb": {
    "r": 74,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 250.732,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43098,
    "c": 0.18457,
    "h": 283.7
  },
  "luminance": 0.07007
}

Semantic roles & 50–950 ramp

primary
#4A34AF
secondary
#B7C47B
accent
#DE4AC3
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4A34AF

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

Preview Lab → · Contrast checker → · Palette generator →

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