#5A437A#5A437A

#5A437A is a dark, moderate violet. Relative luminance 0.076; OKLCH L 43.2% C 0.091 H 302.0°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#5A437A
RGBrgb(90, 67, 122)
HSLhsl(265, 29%, 37%)
HSVhsv(265, 45%, 48%)
CMYKcmyk(26.2%, 45.1%, 0%, 52.2%)
CIE-LABlab(33.12, 22.22, -27.78)
CIE-LCHlch(33.12, 35.57, 308.66°)
OKLaboklab(43.24% 0.0485 -0.0776)
OKLCHoklch(43.24% 0.091 302)
XYZxyz(9.7357, 7.5931, 19.3613)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A437A #637A43
analogous
#43477A #5A437A #76437A
triadic
#5A437A #7A5A43 #437A5A
tetradic
#5A437A #7A4347 #637A43 #437A76
square
#5A437A #7A4347 #637A43 #437A76
split-complementary
#5A437A #7A7643 #477A43
monochromatic
#20182B #3D2D52 #5A437A #7759A2 #977FB9

Accessibility & contrast

On white

8.34
#5A437A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#5A437A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A437A
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A437A#FFFFFF#000000##FFFFFF
##5A437A1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344D7C
Deuteranopia (green-blind)
#394E79
Tritanopia (blue-blind)
#544C58
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5a437a;
/* rgb */ color: rgb(90, 67, 122);
/* oklch */ color: oklch(43.2% 0.091 302.0);
Tailwind
colors: {
  custom: {
    50: '#8a77a0',
    500: '#5a437a',
    950: '#000000',
  },
}
SCSS
$custom: #5a437a;
$custom-light: #8a77a0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a437a",
  "rgb": {
    "r": 90,
    "g": 67,
    "b": 122
  },
  "hsl": {
    "h": 265.091,
    "s": 29.101,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43244,
    "c": 0.09149,
    "h": 302
  },
  "luminance": 0.07593
}

Semantic roles & 50–950 ramp

primary
#5A437A
secondary
#90A475
accent
#C5629C
background
#F8F7F9
surface
#F0EDF2
border
#CBC8CC
text
#0C080F
muted
#7D7B7E

Preview Lab

Preview with #5A437A

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

Preview Lab → · Contrast checker → · Palette generator →

#5A437A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva