#4A347B#4A347B

#4A347B is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.8% C 0.116 H 294.7°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#4A347B
RGBrgb(74, 52, 123)
HSLhsl(259, 41%, 34%)
HSVhsv(259, 58%, 48%)
CMYKcmyk(39.8%, 57.7%, 0%, 51.8%)
CIE-LABlab(27.69, 27.35, -37.15)
CIE-LCHlch(27.69, 46.13, 306.36°)
OKLaboklab(38.8% 0.0485 -0.1054)
OKLCHoklch(38.8% 0.116 294.7)
XYZxyz(7.6262, 5.3417, 19.3643)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A347B #657B34
analogous
#34427B #4A347B #6E347B
triadic
#4A347B #7B4A34 #347B4A
tetradic
#4A347B #7B3442 #657B34 #347B6E
square
#4A347B #7B3442 #657B34 #347B6E
split-complementary
#4A347B #7B6E34 #427B34
monochromatic
#161025 #302250 #4A347B #6446A6 #846AC0

Accessibility & contrast

On white

10.15
#4A347B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4A347B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A347B
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A347B#FFFFFF#000000##FFFFFF
##4A347B1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12427D
Deuteranopia (green-blind)
#194079
Tritanopia (blue-blind)
#3E4352
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4a347b;
/* rgb */ color: rgb(74, 52, 123);
/* oklch */ color: oklch(38.8% 0.116 294.7);
Tailwind
colors: {
  custom: {
    50: '#806ca2',
    500: '#4a347b',
    950: '#000000',
  },
}
SCSS
$custom: #4a347b;
$custom-light: #806ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a347b",
  "rgb": {
    "r": 74,
    "g": 52,
    "b": 123
  },
  "hsl": {
    "h": 258.592,
    "s": 40.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38803,
    "c": 0.11604,
    "h": 294.7
  },
  "luminance": 0.05342
}

Semantic roles & 50–950 ramp

primary
#4A347B
secondary
#93A863
accent
#D057AB
background
#F8F6FA
surface
#EFEBF3
border
#CAC6CD
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #4A347B

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

Preview Lab → · Contrast checker → · Palette generator →

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