#4A347C#4A347C

#4A347C is a dark, moderate violet. Relative luminance 0.054; OKLCH L 38.9% C 0.117 H 294.4°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#4A347C
RGBrgb(74, 52, 124)
HSLhsl(258, 41%, 35%)
HSVhsv(258, 58%, 49%)
CMYKcmyk(40.3%, 58.1%, 0%, 51.4%)
CIE-LABlab(27.76, 27.65, -37.67)
CIE-LCHlch(27.76, 46.73, 306.28°)
OKLaboklab(38.88% 0.0485 -0.107)
OKLCHoklch(38.88% 0.117 294.4)
XYZxyz(7.6892, 5.3669, 19.6957)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A347C #667C34
analogous
#34427C #4A347C #6E347C
triadic
#4A347C #7C4A34 #347C4A
tetradic
#4A347C #7C3442 #667C34 #347C6E
square
#4A347C #7C3442 #667C34 #347C6E
split-complementary
#4A347C #7C6E34 #427C34
monochromatic
#171026 #302251 #4A347C #6446A7 #846AC0

Accessibility & contrast

On white

10.13
#4A347C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A347C
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A347C#FFFFFF#000000##FFFFFF
##4A347C1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10427E
Deuteranopia (green-blind)
#17407A
Tritanopia (blue-blind)
#3D4352
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4a347c;
/* rgb */ color: rgb(74, 52, 124);
/* oklch */ color: oklch(38.9% 0.117 294.4);
Tailwind
colors: {
  custom: {
    50: '#806ca2',
    500: '#4a347c',
    950: '#000000',
  },
}
SCSS
$custom: #4a347c;
$custom-light: #806ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a347c",
  "rgb": {
    "r": 74,
    "g": 52,
    "b": 124
  },
  "hsl": {
    "h": 258.333,
    "s": 40.909,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38875,
    "c": 0.11744,
    "h": 294.4
  },
  "luminance": 0.05367
}

Semantic roles & 50–950 ramp

primary
#4A347C
secondary
#93A963
accent
#D157AC
background
#F8F6FA
surface
#EFEBF3
border
#CAC6CD
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #4A347C

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

Preview Lab → · Contrast checker → · Palette generator →

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