#4A367E#4A367E

#4A367E is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.4% C 0.117 H 293.1°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#4A367E
RGBrgb(74, 54, 126)
HSLhsl(257, 40%, 35%)
HSVhsv(257, 57%, 49%)
CMYKcmyk(41.3%, 57.1%, 0%, 50.6%)
CIE-LABlab(28.38, 26.98, -37.92)
CIE-LCHlch(28.38, 46.54, 305.43°)
OKLaboklab(39.38% 0.0459 -0.1077)
OKLCHoklch(39.38% 0.117 293.1)
XYZxyz(7.9081, 5.6003, 20.3989)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A367E #6A7E36
analogous
#36467E #4A367E #6E367E
triadic
#4A367E #7E4A36 #367E4A
tetradic
#4A367E #7E3646 #6A7E36 #367E6E
square
#4A367E #7E3646 #6A7E36 #367E6E
split-complementary
#4A367E #7E6E36 #467E36
monochromatic
#181128 #312453 #4A367E #6348A9 #856EC1

Accessibility & contrast

On white

9.90
#4A367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4A367E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A367E
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A367E#FFFFFF#000000##FFFFFF
##4A367E1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134480
Deuteranopia (green-blind)
#18427C
Tritanopia (blue-blind)
#3C4554
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4a367e;
/* rgb */ color: rgb(74, 54, 126);
/* oklch */ color: oklch(39.4% 0.117 293.1);
Tailwind
colors: {
  custom: {
    50: '#806da4',
    500: '#4a367e',
    950: '#000000',
  },
}
SCSS
$custom: #4a367e;
$custom-light: #806da4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a367e",
  "rgb": {
    "r": 74,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 256.667,
    "s": 40,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39381,
    "c": 0.11706,
    "h": 293.1
  },
  "luminance": 0.05601
}

Semantic roles & 50–950 ramp

primary
#4A367E
secondary
#97A967
accent
#D058AF
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #4A367E

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

Preview Lab → · Contrast checker → · Palette generator →

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