#4A347A#4A347A

#4A347A is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.7% C 0.115 H 295.0°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#4A347A
RGBrgb(74, 52, 122)
HSLhsl(259, 40%, 34%)
HSVhsv(259, 57%, 48%)
CMYKcmyk(39.3%, 57.4%, 0%, 52.2%)
CIE-LABlab(27.62, 27.05, -36.63)
CIE-LCHlch(27.62, 45.54, 306.45°)
OKLaboklab(38.73% 0.0484 -0.1039)
OKLCHoklch(38.73% 0.115 295)
XYZxyz(7.5640, 5.3168, 19.0363)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A347A #647A34
analogous
#34417A #4A347A #6D347A
triadic
#4A347A #7A4A34 #347A4A
tetradic
#4A347A #7A3441 #647A34 #347A6D
square
#4A347A #7A3441 #647A34 #347A6D
split-complementary
#4A347A #7A6D34 #417A34
monochromatic
#160F24 #30224F #4A347A #6446A5 #8469BF

Accessibility & contrast

On white

10.18
#4A347A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4A347A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A347A
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A347A#FFFFFF#000000##FFFFFF
##4A347A1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13427C
Deuteranopia (green-blind)
#1A4078
Tritanopia (blue-blind)
#3E4351
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4a347a;
/* rgb */ color: rgb(74, 52, 122);
/* oklch */ color: oklch(38.7% 0.115 295.0);
Tailwind
colors: {
  custom: {
    50: '#806ca1',
    500: '#4a347a',
    950: '#000000',
  },
}
SCSS
$custom: #4a347a;
$custom-light: #806ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a347a",
  "rgb": {
    "r": 74,
    "g": 52,
    "b": 122
  },
  "hsl": {
    "h": 258.857,
    "s": 40.23,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38731,
    "c": 0.11464,
    "h": 295
  },
  "luminance": 0.05317
}

Semantic roles & 50–950 ramp

primary
#4A347A
secondary
#92A763
accent
#D058AA
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A070F
muted
#7C7A7E

Preview Lab

Preview with #4A347A

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

Preview Lab → · Contrast checker → · Palette generator →

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