#5A437C#5A437C

#5A437C is a dark, moderate violet. Relative luminance 0.076; OKLCH L 43.4% C 0.094 H 301.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#5A437C
RGBrgb(90, 67, 124)
HSLhsl(264, 30%, 37%)
HSVhsv(264, 46%, 49%)
CMYKcmyk(27.4%, 46%, 0%, 51.4%)
CIE-LABlab(33.23, 22.75, -28.85)
CIE-LCHlch(33.23, 36.74, 308.26°)
OKLaboklab(43.36% 0.0488 -0.0807)
OKLCHoklch(43.36% 0.094 301.2)
XYZxyz(9.8609, 7.6432, 20.0207)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A437C #657C43
analogous
#43487C #5A437C #77437C
triadic
#5A437C #7C5A43 #437C5A
tetradic
#5A437C #7C4348 #657C43 #437C77
square
#5A437C #7C4348 #657C43 #437C77
split-complementary
#5A437C #7C7743 #487C43
monochromatic
#20182D #3D2E54 #5A437C #7758A4 #977FBA

Accessibility & contrast

On white

8.30
#5A437C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5A437C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A437C
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A437C#FFFFFF#000000##FFFFFF
##5A437C1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334E7E
Deuteranopia (green-blind)
#384E7B
Tritanopia (blue-blind)
#544D59
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5a437c;
/* rgb */ color: rgb(90, 67, 124);
/* oklch */ color: oklch(43.4% 0.094 301.2);
Tailwind
colors: {
  custom: {
    50: '#8a77a2',
    500: '#5a437c',
    950: '#000000',
  },
}
SCSS
$custom: #5a437c;
$custom-light: #8a77a2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a437c",
  "rgb": {
    "r": 90,
    "g": 67,
    "b": 124
  },
  "hsl": {
    "h": 264.211,
    "s": 29.843,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4336,
    "c": 0.09434,
    "h": 301.2
  },
  "luminance": 0.07643
}

Semantic roles & 50–950 ramp

primary
#5A437C
secondary
#92A576
accent
#C6629E
background
#F8F7FA
surface
#F0EDF3
border
#CBC8CD
text
#0C080F
muted
#7D7B7F

Preview Lab

Preview with #5A437C

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

Preview Lab → · Contrast checker → · Palette generator →

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