#4A367B#4A367B

#4A367B is a dark, moderate violet. Relative luminance 0.055; OKLCH L 39.2% C 0.113 H 293.9°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#4A367B
RGBrgb(74, 54, 123)
HSLhsl(257, 39%, 35%)
HSVhsv(257, 56%, 48%)
CMYKcmyk(39.8%, 56.1%, 0%, 51.8%)
CIE-LABlab(28.18, 26.09, -36.36)
CIE-LCHlch(28.18, 44.75, 305.66°)
OKLaboklab(39.17% 0.0457 -0.1031)
OKLCHoklch(39.17% 0.113 293.9)
XYZxyz(7.7174, 5.5241, 19.3947)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A367B #677B36
analogous
#36457B #4A367B #6C367B
triadic
#4A367B #7B4A36 #367B4A
tetradic
#4A367B #7B3645 #677B36 #367B6C
square
#4A367B #7B3645 #677B36 #367B6C
split-complementary
#4A367B #7B6C36 #457B36
monochromatic
#171126 #302350 #4A367B #6449A6 #846DBF

Accessibility & contrast

On white

9.98
#4A367B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4A367B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A367B
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A367B#FFFFFF#000000##FFFFFF
##4A367B1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17437D
Deuteranopia (green-blind)
#1C4179
Tritanopia (blue-blind)
#3E4453
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4a367b;
/* rgb */ color: rgb(74, 54, 123);
/* oklch */ color: oklch(39.2% 0.113 293.9);
Tailwind
colors: {
  custom: {
    50: '#806da2',
    500: '#4a367b',
    950: '#000000',
  },
}
SCSS
$custom: #4a367b;
$custom-light: #806da2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a367b",
  "rgb": {
    "r": 74,
    "g": 54,
    "b": 123
  },
  "hsl": {
    "h": 257.391,
    "s": 38.983,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39166,
    "c": 0.11281,
    "h": 293.9
  },
  "luminance": 0.05524
}

Semantic roles & 50–950 ramp

primary
#4A367B
secondary
#94A765
accent
#CF59AD
background
#F8F6FA
surface
#EFEBF3
border
#CAC6CD
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #4A367B

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

Preview Lab → · Contrast checker → · Palette generator →

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